uint8_t ones,tens,hundreds;hundreds = number/100;number = number-hundreds*100;tens = number/10;ones = number-tens*10;
I have a number up to 999, and now I want to send that data to three 7 segment LEDS.Is there some standard way that is used to do the math of ones tens etc, to break that number down into the single digit components to send to each display?Thanks!
I assumed so, but could not find it on here.Thanks.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16