| Andy Neil 06/10/09 04:38 Modified: 06/10/09 05:52 Read: 246 times Basingstoke Uk |
#165972 - translate ASCII to binary ? [edited] Responding to: Sergey Meerovich's previous message |
Note: The error pointed out by Per in the original post has been corrected.
--- What, exactly, do you mean by "translate ASCII to binary"? ASCII is just a code that uses numbers to represent - or encode - characters. eg, when you want to send the uppercase letter 'A' you send its ASCII code value - which is sixty-five. The numeric value sixty-five can be represented many ways; eg, in decimal as 65; in hexadecimal as 41; in octal as 101; in binary as 1000001; in Roman numerals as LXV; etc. It looks like what you're actually trying to do is to transmit a value in hexadecimal notation, eg, 40, by sending the character '4' followed by the character '0' - is that right? |
| Topic | Author | Date |
| transmit/recieve character by using 8051 and USART | Sergey Meerovich | 06/09/09 15:27 |
| Be sure your 8251 is fast enough | Richard Erlacher | 06/09/09 18:42 |
| conver ASCII to bin and viceversa and interface | Sergey Meerovich | 06/10/09 03:53 |
| translate ASCII to binary ? [edited] | Andy Neil | 06/10/09 04:38 |
| 65 base 10 = 41 base 16 | Per Westermark | 06/10/09 04:43 |
| Corrected! | Andy Neil | 06/10/09 05:55 |
| binary to hex | Per Westermark | 06/10/09 04:40 |
| Text representation of numbers | Andy Neil | 06/10/09 05:48 |
| connection with HyperLink | Sergey Meerovich | 06/15/09 09:02 |
| unplug and plug | Erik Malund | 06/15/09 09:05 |
| Question about Polling method for send recieve data | Sergey Meerovich | 06/16/09 01:02 |
yes, and no | Erik Malund | 06/16/09 08:31 |



