IÂ´m having a hard time trying to crack some code for a this conversion but looks like IÂ´m too rusty to solve this puzzle. By the way, IÂ´m like a newbie in C:
I have the following example:
LetÂ´s say I have in uint8_t hexsum = 0xb6, which is 182 in decimal, I need to extract just the less significant decimal digit 2.
Searched the web for over an hour without finding anything which could solve this.
Any code suggestions?