rf12 sendWait()
Wait for completion of the preceding rf12_sendStart() call, using the specified low-power mode.
#include <RF12.h>
#include <Ports.h> // needed to avoid a linker error :(
void rf12_sendWait(byte mode);
Parameters
sync
Power-down mode during wait: 0 = NORMAL, 1 = IDLE, 2 = STANDBY, 3 = PWR_DOWN. Values 2 and 3 can cause the millisecond time to lose a few interrupts. Value 3 can only be used if the ATmega fuses have been set for fast startup, i.e. 258 CK - the default Arduino fuse settings are not suitable for full power down.
Notes
The rf12_sendWait() function should only be called right after a call to rf12_sendStart().