shorten RFM wakeup time
This commit is contained in:
parent
fb19e0d940
commit
fe14654b07
|
|
@ -328,7 +328,7 @@ void loop()
|
||||||
// Send data via RF
|
// Send data via RF
|
||||||
power_spi_enable();
|
power_spi_enable();
|
||||||
rf12_sleep(RF12_WAKEUP);
|
rf12_sleep(RF12_WAKEUP);
|
||||||
dodelay(50);
|
dodelay(30); // wait for module to wakup
|
||||||
rf12_sendNow(0, &emonth, sizeof emonth);
|
rf12_sendNow(0, &emonth, sizeof emonth);
|
||||||
// set the sync mode to 2 if the fuses are still the Arduino default
|
// set the sync mode to 2 if the fuses are still the Arduino default
|
||||||
// mode 3 (full powerdown) can only be used with 258 CK startup fuses
|
// mode 3 (full powerdown) can only be used with 258 CK startup fuses
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue