Update Node.ino

This commit is contained in:
LowPowerLab 2013-07-01 16:28:12 -04:00
parent 8b9483a7db
commit 8406e1f5de
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
#define NODEID 25 #define NODEID 25
#define NETWORKID 100 #define NETWORKID 100
#define GATEWAYID 1 #define GATEWAYID 1
#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 KEY "thisIsEncryptKey"
#define LED 9 #define LED 9
#define SERIAL_BAUD 115200 #define SERIAL_BAUD 115200
@ -97,11 +97,11 @@ void loop() {
} }
} }
void Blink(byte PIN, int DELAY_MS) void Blink(byte PIN, int delay_ms)
{ {
pinMode(PIN, OUTPUT); pinMode(PIN, OUTPUT);
digitalWrite(PIN,HIGH); digitalWrite(PIN,HIGH);
delay(DELAY_MS); delay(delay_ms);
digitalWrite(PIN,LOW); digitalWrite(PIN,LOW);
} }