how to convert Hex values to ascii decimal

Status
Not open for further replies.

Davechika

Newbie level 6
Joined
Oct 8, 2009
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Port-Harcourt,Nigeria
Activity points
1,357
How can can i convert hex values e.g (0x40,0x12,0x0A) retrived from 89S52 counters to ascii decimal values e.g (64,18,10) which is sent to the serial buffer (SBUF) of 8952 microcontroller.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…