Nice. Now put away the arduino and use T flip flops :D
GalaticTG 1 year ago
Can
you give me the Schematic please?
cristoretornebiblia 2 years ago
@cristoretornebiblia
Basically, you've to attach each led into an arduino digital pin and set to output.
How it works:
An array of arrays for all values 0,1,2,...,16 coded in binary count:
{0,0,0,0},{0,0,0,1},{0,0,1,0},{0,0,1,1},...{1,1,1,1}
So you only need a loop to set leds on/off according to values on the array (each position on the array sets leds status).
cbolanos79 1 year ago
Nice. Now put away the arduino and use T flip flops :D
GalaticTG 1 year ago
Can
you give me the Schematic please?
cristoretornebiblia 2 years ago
@cristoretornebiblia
Basically, you've to attach each led into an arduino digital pin and set to output.
How it works:
An array of arrays for all values 0,1,2,...,16 coded in binary count:
{0,0,0,0},{0,0,0,1},{0,0,1,0},{0,0,1,1},...{1,1,1,1}
So you only need a loop to set leds on/off according to values on the array (each position on the array sets leds status).
cbolanos79 1 year ago