Update your browser to view this website correctly. Update my browser now
Counts the seconds from 0 to 999.
All pins from "a" to "g" and pin "dp" of the displays are connected together. Each one is controlled by an Arduino's pin:
a = pin 2; b = pin 3; c = pin 4; d = pin 5;
e = pin 6; f = pin 7; g = pin 8; dp = pin 9.
The Groun Supplement (com1 and com2) is controlled separately by the pins:
Display 1 = pin 10
Display 2 = pin 11
Display 3 = pin 12
The technic is to turn one display on and turn the others two off for a shor period of time (5ms for each segment == 15ms total).
Repeating it for 66 times == 990ms
+10ms of delay == 1s.
Each time print a different number for each display.