??? 10/20/05 08:47 Read: times Msg Score: -1 -1 Answer is Wrong |
#102664 - 6 bit ASCII??? Responding to: ???'s previous message |
Andy Neil said:
It must've been too early in the morning when I wrote this.
See the update instead: http://www.8052.com/forum/read.phtml?id=102663 Raghav Narasimhaj said:
... place 6 bit ascii data to be displayed on data bus.
ASCII of A is 41 in hex and 65 in decimal.Now how to make it to 6 bit. Charles Bannister said:
Example ASCII A,B (0x41 = 0x01, 0x42 = 0x02, etc...) If that's what's really required, it seems a bit bizarre to call it "6-bit ASCII"!! To me, "6-bit ASCII" would mean "the bottom 6 bits of the ASCII code" Anyhow, if this is what's really required (a link to the datasheet would help), surely it would be far simpler to just subtract 0x41 from the ASCII code than to use a lookup table?? I fully agree with Andy. But the only thing is you need to subtract 0X40 from your HEX character. This is more efficient method for your application(Than lookup table). Also the code is not at all "6 bit ASCII" but it is an easily extracted code from HEX number. Just see 'A' means 0X41 means 0X65 in ASCII. Now as per the IC 7243A 'A' is 0X01 means difference is of 0X40 and that is a constant. You need not go into the details of ASCII. It is something which is really not required. If you want to, then you need a converter function in your code to convert HEX to ASCII and then you have to subtract 0X64 as a constant. Regards Sarang |
Topic | Author | Date |
C8051F005 with KLA5XX 17segment display | 01/01/70 00:00 | |
Use a look table to convert | 01/01/70 00:00 | |
Thanks | 01/01/70 00:00 | |
6-bit ASCII??? | 01/01/70 00:00 | |
Yes - just the bottom 6 bits of ASCII! | 01/01/70 00:00 | |
So where's the problem?? | 01/01/70 00:00 | |
6 bit ASCII??? | 01/01/70 00:00 | |
Wrong answer. | 01/01/70 00:00 | |
unnecessary | 01/01/70 00:00 | |
Sorry once again | 01/01/70 00:00 | |
yes | 01/01/70 00:00 | |
That is a must... | 01/01/70 00:00 | |
No, that's wrong. | 01/01/70 00:00 | |
Not quite "6-bit ASCII" | 01/01/70 00:00 | |
Thanks to everybody | 01/01/70 00:00 | |
driver for ICM7243A with KLA5XX | 01/01/70 00:00 | |
Driver | 01/01/70 00:00 | |
Do you need the chip? | 01/01/70 00:00 | |
Yes Andy Neil | 01/01/70 00:00 | |
Yes Andy Neil | 01/01/70 00:00 | |
Hi erik can you help me | 01/01/70 00:00 | |
Why Erik? | 01/01/70 00:00 | |
What question? | 01/01/70 00:00 | |
great | 01/01/70 00:00 | |
how can you finalise the hardware??? | 01/01/70 00:00 | |
so many have a problem with the truth![]() | 01/01/70 00:00 |