Hello,
I'm new to C++. Years ago I dabbled in assembly lanquage as a hobby, but I never really got deep into manipulating numbers with it, so now that I'm learning C++, primarily for the purpose of microcontroller programming, I need to learn it.
I'm working on a digital display circuit which will use multiple PIC microcontrollers. I need to be able to separate an integer into its digits for the ability to display them. Can someone help me here?
The main PIC will sent the integer, but I need the controllers that are doing the actual 7 segment output to sepearate their appropriate numbers (for example, one PIC will be handling the ones and tens, and the second will be handling the hundreds and thousands). For reasons I won't get deep into right now, I am not using a single chip to multiplex the display.
If someone can show me how to do this, and explain it a little, Im sure I will catch on.
Thanks in advance!