This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "simlogic.h" | |
#include <Keypad.h> | |
#define buttonA 2 | |
#define buttonB 3 | |
#define buttonC 4 | |
#define ledSum 5 | |
#define ledC_out 6 | |
#define latchPin 12//Pin connected to ST_CP of 74HC595 | |
#define clockPin 10//Pin connected to SH_CP of 74HC595 | |
#define dataPin 11 //Pin connected to DS of 74HC595 |