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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/24/05 16:48
Read: times


 
Msg Score: -1
 -1 Didn't Search First
#88361 - decimal value to hyperterminal
i am trying to output a decimal unsigned int value (0-65535) to the hyperterminal screen so i can check my code is calculating the correct values. When i simulate in keil the serial window is giving me the correct values. However, when i program the chip (T89C51CC02) and communicate with the comms port the hyperterminal is not giving me the required values. Is is because hyperterminal only uses ASCII code, there for a digital input value is its equivalent ASCII value?
Does anyone have any ideas as to how i can display my data onto the computer screen in decimal values??
Thanks for the help!!

List of 8 messages in thread
TopicAuthorDate
decimal value to hyperterminal            01/01/70 00:00      
   SPRINT ?            01/01/70 00:00      
      printf() or sprintf()            01/01/70 00:00      
         or ultoa ()            01/01/70 00:00      
            ultoa () - not in Keil?            01/01/70 00:00      
               Does he have Keil?            01/01/70 00:00      
                  itoa            01/01/70 00:00      
                     But..            01/01/70 00:00      

Back to Subject List