Update Gateway.ino
This commit is contained in:
parent
8406e1f5de
commit
c6905d5055
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
#define NODEID 1
|
#define NODEID 1
|
||||||
#define NETWORKID 100
|
#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 KEY "thisIsEncryptKey"
|
||||||
#define LED 9
|
#define LED 9
|
||||||
#define SERIAL_BAUD 115200
|
#define SERIAL_BAUD 115200
|
||||||
|
|
@ -90,10 +90,10 @@ static bool waitForAck(byte theNodeID) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
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);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue