Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/10/09 10:48
Read: times


 
#165977 - Text representation of numbers
Responding to: ???'s previous message
Per Westermark said:
the binary value 0x1f gets converted to the characters '1' and 'F', that is something completely different.


What you are actually doing there is converting from a number to a text string that represents that number.

This is what something like printf( "%02X", number ) does...

List of 12 messages in thread
TopicAuthorDate
transmit/recieve character by using 8051 and USART            01/01/70 00:00      
   Be sure your 8251 is fast enough            01/01/70 00:00      
      conver ASCII to bin and viceversa and interface            01/01/70 00:00      
         translate ASCII to binary ? [edited]            01/01/70 00:00      
            65 base 10 = 41 base 16            01/01/70 00:00      
               Corrected!            01/01/70 00:00      
         binary to hex            01/01/70 00:00      
            Text representation of numbers            01/01/70 00:00      
               connection with HyperLink            01/01/70 00:00      
                  unplug and plug            01/01/70 00:00      
   Question about Polling method for send recieve data            01/01/70 00:00      
      yes, and no            01/01/70 00:00      

Back to Subject List