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 <SoftwareSerial.h> | |
SoftwareSerial Serial1(5,10); //(Rx,Tx) | |
void setup() | |
{ | |
Serial1.begin(9600); | |
Serial.begin(9600); | |
} |
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
/*TO IMPLEMENT: you mast have the following variable names for your button pins: | |
hourPin | |
minutePin | |
setPin | |
TO USE: | |
if (debounceRead(hourPin)) | |
{ | |
hourButtonPressed(); |
NewerOlder