Problem: Digital Root Clocks
Solution: [Spoiler Ahead]
One of the easy problems and one of the easy solutions.
It's just straight forward,
Globals I used, a noOfLEDsForDigit[] array holding the number of led's required to glow a particular digit.
A digits[] array holding hex values for the number that represent the ON-OFF LED. e.g.
Solution: [Spoiler Ahead]
One of the easy problems and one of the easy solutions.
It's just straight forward,
the number of LED on-off by SAM's clock - the number of LED on-off by MAX's clock
Globals I used, a noOfLEDsForDigit[] array holding the number of led's required to glow a particular digit.
A digits[] array holding hex values for the number that represent the ON-OFF LED. e.g.