I'm trying to write the proper code to write data to the 4 digit 7 segment modules. This is my code: #define DIG_4H_321L 0b00100000 #define DIG_4L_321H 0b00011100 #define DIG_3H_421L 0b00010000 ...
int latchPin = 2; // Pin connected to ST_CP of 74HC595(Pin12) int clockPin = 4; // Pin connected to SH_CP of 74HC595(Pin11) int dataPin = 15; // Pin connected to DS of 74HC595(Pin14) int comPin[] = ...