Skip to content

Instantly share code, notes, and snippets.

#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