Skip to content

Instantly share code, notes, and snippets.

View dakrawczyk's full-sized avatar

Dave Krawczyk dakrawczyk

  • Numerator
  • Chicago, IL
View GitHub Profile
#include <SoftwareSerial.h>
SoftwareSerial Serial1(5,10); //(Rx,Tx)
void setup()
{
Serial1.begin(9600);
Serial.begin(9600);
}
/*TO IMPLEMENT: you mast have the following variable names for your button pins:
hourPin
minutePin
setPin
TO USE:
if (debounceRead(hourPin))
{
hourButtonPressed();