rf12_config()

This calls rf12_initialize() with settings obtained from EEPROM address 0x20 .. 0x3F. These settings can be filled in by the RF12demo sketch in the RF12 library. If the checksum included in those bytes is not valid, rf12_initialize() will not be called.

As side effect, rf12_config() also writes the current configuration to the serial port, ending with a newline.

#include <RF12.h> 
#include <Ports.h> // needed to avoid a linker error :(

byte rf12_config();

The result is the node ID obtained from EEPROM, or 0 if there was none.

Parameters

None.