Update Node.ino
This commit is contained in:
parent
8b9483a7db
commit
8406e1f5de
|
|
@ -4,7 +4,7 @@
|
|||
#define NODEID 25
|
||||
#define NETWORKID 100
|
||||
#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 LED 9
|
||||
#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);
|
||||
digitalWrite(PIN,HIGH);
|
||||
delay(DELAY_MS);
|
||||
delay(delay_ms);
|
||||
digitalWrite(PIN,LOW);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue