- By Paulsin
- |
- 7-digit seven segment display module, 74HC595, Common cathode seven segment displays, Displays, DIY Electronic Boards, Electronic Modules, Electronics, General Blog, Hobby Electronic kits, Integrated Circuit chips, Seven Segment Displays, Shift register module
- |
- 1063 Views
- |
- 0 Comment
- |
Upload the following program to Arduino board
//Pin connected to ST_CP (12) of 74HC595 int latchPin = 12; //Pin connected to SH_CP (11) of 74HC595 int clockPin = 11; ////Pin connected to DS (14) of 74HC595 int dataPin = 10; int numDigitArray[7] = {0, 0, 0, 0, 0, 0, 0}; int dotPointArray[7] = {0, 0, 0, 0, 0, 0, 0}; void displayValueAndDigit(byte value,