 
     // reset watchdog
     wdt_reset();
+}
+
+void report_indicators() {
+    Serial.print("$IND,");
+    Serial.print(sta, 4);
+    Serial.print(',');
+    Serial.print(raw_acs0, DEC);
+    Serial.print(',');
+    Serial.println(millis(), DEC);
 }
 
 

    status_water_aft = digitalRead(WATER_AFT);
    status_sw_motor = digitalRead(SW_MOTOR);

    if(status_sw_motor == HIGH) {
        digitalWrite(LED_GREEN, HIGH); 
    } else {
        digitalWrite(LED_GREEN, LOW); 
    }

    if(status_water_fwd == HIGH || status_water_aft == HIGH) {
        digitalWrite(LED_RED, HIGH);    
    } else {
        digitalWrite(LED_RED, LOW);
    }

    // // led slow-loop delta
    // delta = millis() - time_leds;

    // if(delta >= DELAY_LEDS) {

    //     // update timestamp
    //     time_leds = millis();
    // }


    // serial control

    pinMode(WATER_FWD, INPUT); 
    pinMode(WATER_AFT, INPUT); 

    for(int i=0; i<4; i++){
        // LED flash on
        digitalWrite(LED_GREEN, HIGH); 
        digitalWrite(LED_YELLOW, HIGH); 
        digitalWrite(LED_RED, HIGH);

        delay(DELAY_LEDS);

        // LED flash off
        digitalWrite(LED_GREEN, LOW); 
        digitalWrite(LED_YELLOW, LOW); 
        digitalWrite(LED_RED, LOW);          
    }  

    // (reset) protection delay
    //delay(1000);

    // enable watchdog
    wdt_enable(WDTO_8S);
