SYNOPSIS
#include <RF12.h>
void rf12_easyInit(byte seconds);
DESCRIPTION
Set up the easy transmission mechanism. The argument is the minimal number of seconds between new data packets (from 1 to 255). With 0 as argument, packets will be sent as fast as possible:
- On the 433 and 915 MHz frequency bands, this is fixed at 100 msec (10 packets/second).
- On the 866 MHz band, the frequency depends on the number of bytes sent: for 1-byte packets, it will be up to 7 packets/second, for 66-byte bytes of data it will be around 1 packet/second.
This function should be called after the RF12 driver has been initialized, using either rf12_initialize() or rf12_config().
PARAMETERS
|
seconds |
The minimal number of seconds between new data packets (from 1 to 255). With a 0 argument, packets will be sent as fast as possible:
|
SEE ALSO
This function should be used in combination with rf12_easyPoll() and rf12_easySend().
Part of the RF12 library.