HELP:Convert 24bit from ADC to decimal

Status
Not open for further replies.
No! John.... The link was directed to Les ( I put his link in at the top )

I just wanted to be clear on one thing..... Hexadecimal, Decimal or binary all count from 0 to max integer size... They all represent a whole number..

When you display a whole number, only then do you need to convert.... ASCII is the norm... Some convert to BCD and then to ASCII, I prefer to divide it out then convert to ASCII..... ASCII is the non decimal...

Take the RTC... They store a whole number in BCD format, purely for ease of display via a BCD 7seg chip.. But if you want to display via the ASCII format you nee to return it to a whole number and visa-versa...
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…