If you have not installed the fastio library yet, please download the library from https://synapse.kyoto/lib/fastio/page001.html. To use it, place the source code in the Arduino libraries folder on your computer. See the example code for further usage.
74HC595 pin | FourDigitSevenSegment pin | ||
---|---|---|---|
segA | Q0 | ==> | 11 |
segB | Q1 | ==> | 7 |
segC | Q2 | ==> | 4 |
segD | Q3 | ==> | 2 |
segE | Q4 | ==> | 1 |
segF | Q5 | ==> | 10 |
segG | Q6 | ==> | 5 |
segdp | Q7 | ==> | 3 |
Arduino pin | FourDigitSevenSegment pin | ||
Digit1 | D3 | ==> | 12 |
Digit2 | D4 | ==> | 9 |
Digit3 | D5 | ==> | 8 |
Digit4 | D6 | ==> | 6 |
Arduino pin | 74HC595 pin | ||
DATA | D8 | ==> | DS |
LATCH | D9 | ==> | ST_CP |
CLOCK | D10 | ==> | SH_CP |