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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/12/03 05:24
Read: times


 
#54603 - RE: C Routine for Hex to ASCII
Responding to: ???'s previous message
Hi Mike,
If you are reading (say) 0xaa from the ADC then I assume you would want to send ASCII 170 to your display? Then it is a direct method. there is no conversion involved. just pass it on to the function. BUT If you want the characters "1""7""0" to be printed then you have to do a INT2CHAR conversion using a simple function

-Harsha

List of 18 messages in thread
TopicAuthorDate
C Routine for Hex to ASCII            01/01/70 00:00      
   RE: C Routine for Hex to ASCII            01/01/70 00:00      
      RE: C Routine for Hex to ASCII            01/01/70 00:00      
   RE: C Routine for Hex to ASCII            01/01/70 00:00      
   RE: C Routine for Hex to ASCII            01/01/70 00:00      
   RE: C Routine for Hex to ASCII            01/01/70 00:00      
      RE: C Routine for Hex to ASCII            01/01/70 00:00      
         RE: C Routine for Hex to ASCII            01/01/70 00:00      
            RE: C Routine for Hex to ASCII            01/01/70 00:00      
   RE: C Routine for Hex to ASCII            01/01/70 00:00      
      RE: C Routine for Hex to ASCII            01/01/70 00:00      
         RE: C Routine for Hex to ASCII            01/01/70 00:00      
            RE: C Routine for Hex to ASCII            01/01/70 00:00      
            RE: C Routine for Hex to ASCII            01/01/70 00:00      
            RE: C Routine for Hex to ASCII            01/01/70 00:00      
               RE: C Routine for Hex to ASCII            01/01/70 00:00      
         RE: C Routine for Hex to ASCII            01/01/70 00:00      
   RE: C Routine for Hex to ASCII            01/01/70 00:00      

Back to Subject List