#include <OzIDManager.h>
#include <OzRF24Transceiver.h>

OzIDManager* manager;
OzRF24Transceiver* RF24Transceiver;

void setup(){
    Serial.begin(115200);

    manager = new OzIDManager;
    manager->_sendACK = true;
    manager->_checksum = true;

    OzCommunication::setIDManager(manager);

    RF24Transceiver = new OzRF24Transceiver(7,8);

    int x = 1;
    manager->sendLinkSetup();
    manager->PrintWelcomeLine(RF24Transceiver, x++, "MyRF24");
}

void loop(){
    OzCommunication::communicate();
    RF24Transceiver->ownLoop();
}

More information