     bool data = (digitalRead(PIN_DATA) == HIGH);
     unsigned long ms = millis();
     bool ready = zg01_process(ms, data);
-    
+
     // process data if ready
     if (ready) {
         // dump buffer to serial

    
    // init RF24
    rf.begin();
    rf.setRetries(15, 15);
    rf.enableDynamicPayloads();
    rf.openWritingPipe(address);

const int tries = 1;

static uint8_t buffer[5];
static RF24 rf(/*ce*/ 8, /*cs*/ 9);

void setup(void)
{
