     Serial.flush();
 #endif
 
+    // Start the clock
+    // Not sure this is needed since it is a null function
+    RTC.begin();
+
     // Turn the radio off completely
     rf12_initialize(17, RF12_868MHZ);
     rf12_sleep(RF12_SLEEP);

    ledPort.mode(OUTPUT);
    ledPort.mode2(OUTPUT);

    // The MaxMs are supposed to be programmed to not start on poweron
    // but turn thenm off just to be sure
    //TODO check for errors; and then do what?
    maxm1.send();

    maxm2.write(0);
    maxm2.stop();

    //TODO check the RTC is working correctly

    // Start tasks after a pause for the power supply to settle
    // Not sure where the "pause" came from!
    scheduler.timer(OPER_TIME, startup_pause);
}

void loop () {
    switch (scheduler.pollWaiting()) {
        // Control first MaxM
        case MAXM1:
            if (is_operational == 1) {
                scheduler.timer(MAXM1, maxm1_cycle * 10);
                scheduler.timer(MAXM2, maxm2_offset * 10);
                doFlash(ledPort, led1, 1);
#ifdef DEBUG_TRACE
                Serial.println("MAXM1");
