- This topic has 2 replies, 3 voices, and was last updated 9 years, 4 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › codeing
can anyone help me out with the codeing of binary to ascii conversion for 8051 in c language???
u can add 0x30 in your number to get ascii value. .
if u want value of 3 in ascii then add 0x30 in 3 to get ascii value
first you have to convert binary number into unpacked BCD numbers
than you have to saparate both digits of number
then you can convert both digits into ASCII