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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/30/05 01:49
Read: times


 
#96262 - i whant to do this
Responding to: ???'s previous message


I whant to do this:

I request the temperature to the DS1620 twise i get first the temperature value in 8 bits then i get the sign, ok.

i store the 8 bits of the temperature in R1, i.e. this is the value: 01000001

if i do this:

MOV A,R1
CLR TI ;Clear Transmit Flag
MOV SBUF, A ;Transmit Byte

i get in the terminal the character 'A'.

and i whant to get two characters '6' '5'

that what i whant to do, in order to send that information to the serial port or to a LCD Display.

Thanks

List of 14 messages in thread
TopicAuthorDate
ASCII TO DECIMAL            01/01/70 00:00      
   re: ascii to decimal            01/01/70 00:00      
   DS1620 - ASCII???            01/01/70 00:00      
      9 bits            01/01/70 00:00      
         So not ASCII, then!            01/01/70 00:00      
   The Othe way around            01/01/70 00:00      
      Not ASCII            01/01/70 00:00      
         Still Confused            01/01/70 00:00      
            i whant to do this            01/01/70 00:00      
               Re-read Neil's post!            01/01/70 00:00      
               It was discused al least..... a lot but:            01/01/70 00:00      
                  You only forgot ...            01/01/70 00:00      
                  For Ivan            01/01/70 00:00      
   resource            01/01/70 00:00      

Back to Subject List