??? 12/19/08 07:36 Read: times |
#161049 - Constructing the table symbolically Responding to: ???'s previous message |
See: http://www.8052.com/forum/read/55866
Michael Karas said:
... start the table with the entry for '0'. Starting at '0' means you skip the ASCII codes for things like space, plus, and minus - which may or may not matter in this particular application... Use the now "extra" bit to indicate when an entry in the table does not encode to a valid display pattern. You will, of course, have to make your own decision on what to do about characters that cannot be displayed on 7 segments... |
Topic | Author | Date |
Looking for a fast elegant solution to an SAA1064 | 01/01/70 00:00 | |
several ways | 01/01/70 00:00 | |
Simple Table Lookup | 01/01/70 00:00 | |
Constructing the table symbolically | 01/01/70 00:00 | |
That looks like it will do the trick | 01/01/70 00:00 | |
Ok I'm here now....... | 01/01/70 00:00 | |
first convert to decimal, then to ASCII | 01/01/70 00:00 | |
So... | 01/01/70 00:00 | |
Keep track of binary/BCD/hex/ASCII | 01/01/70 00:00 | |
Final answer and it works | 01/01/70 00:00 | |
But '0' - 0x30 is zero :)![]() | 01/01/70 00:00 | |
not exactly | 01/01/70 00:00 |