Does this improve the TI Innovator Hub Number Drawing with 7 segment display
Yes
 50%  [ 1 ]
No
 50%  [ 1 ]
Total Votes : 2

Today, I experimented with my new TI Innovator Hub and specifically, the 7 segment display. However, I soon discovered that drawing numbers on the display required quite a few lines of code (my counting program was 74 lines long). I then wrote a library to make such things simpler.

For example, drawing an 8:

Without Library:


Code:

Send “DIGITAL.OUT eval(1) ON”
Send “DIGITAL.OUT eval(2) ON”
Send “DIGITAL.OUT eval(3) ON”
Send “DIGITAL.OUT eval(4) ON”
Send “DIGITAL.OUT eval(5) ON”
Send “DIGITAL.OUT eval(6) ON”
Send “DIGITAL.OUT eval(7) ON”


With library:


Code:
numdrawseg\numdrawseg(8)


Download available soon (I will post when I get to my computer)

EDIT: Forgot to add 0, I will add before posting download link

EDIT 2: Added 0 but computer died, will have to post later today
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement