diff --git a/Examples/Gateway/Gateway.ino b/Examples/Gateway/Gateway.ino index 4b5354b..ab35a21 100644 --- a/Examples/Gateway/Gateway.ino +++ b/Examples/Gateway/Gateway.ino @@ -3,7 +3,7 @@ #define NODEID 1 #define NETWORKID 100 -#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF12_433MHZ, RF12_915MHZ) +#define FREQUENCY RF69_915MHZ //Match this with the version of your Moteino! (others: RF69_433MHZ, RF69_915MHZ) #define KEY "thisIsEncryptKey" #define LED 9 #define SERIAL_BAUD 115200 @@ -90,10 +90,10 @@ static bool waitForAck(byte theNodeID) { return false; } -void Blink(byte PIN, int DELAY_MS) +void Blink(byte PIN, int delay_ms) { pinMode(PIN, OUTPUT); digitalWrite(PIN,HIGH); - delay(DELAY_MS); + delay(delay_ms); digitalWrite(PIN,LOW); }