Microcontroller › 8051 › explain about temprature project code › Hi,48 is added to any sigle
January 4, 2014 at 7:12 pm
#10825
AJISH ALFRED
Participant
Hi,
48 is added to any sigle digit value to get its ascii value, because ascii value of 0 is 48.
To get ascii value of 1, use 1+48
To get ascii value of 2, use 2+48