Telemetria Ets2
Telemetria Ets2
Telemetria Ets2
delay(500);
speedo.write(0);
rpm.write(0);
digitalWrite(LEFT_INDICATOR, 1);
digitalWrite(RIGHT_INDICATOR, 1);
digitalWrite(PARKING_BREAK, 1);
digitalWrite(FUEL_WARNING, 1);
digitalWrite(LOW_BEAM, 1);
digitalWrite(HIGH_BEAM, 1);
digitalWrite(BATTERY_VOLTAGE, 1);
digitalWrite(OIL_PRESSURE, 1);
digitalWrite(WATER_TEMPERATURE, 1);
digitalWrite(REVERSE, 1);
digitalWrite(BRAKE, 1);
digitalWrite(PARKING_LIGHT, 1);
digitalWrite(MOTOR_BRAKE, 1);
digitalWrite(AIR_PRESSURE_WARNING, 1);
digitalWrite(AIR_PRESSURE_EMERGENCY, 1);
delay(500);
speedo.write(180);
rpm.write(180);
digitalWrite(LEFT_INDICATOR, 0);
digitalWrite(RIGHT_INDICATOR, 0);
digitalWrite(PARKING_BREAK, 0);
digitalWrite(FUEL_WARNING, 0);
digitalWrite(LOW_BEAM, 0);
digitalWrite(HIGH_BEAM, 0);
digitalWrite(BATTERY_VOLTAGE, 0);
digitalWrite(OIL_PRESSURE, 0);
digitalWrite(WATER_TEMPERATURE, 0);
digitalWrite(REVERSE, 0);
digitalWrite(BRAKE, 0);
digitalWrite(PARKING_LIGHT, 0);
digitalWrite(MOTOR_BRAKE, 0);
digitalWrite(AIR_PRESSURE_WARNING, 0);
digitalWrite(AIR_PRESSURE_EMERGENCY, 0);
lcd.clear();
lcd.print("Wait");
// Wait a second to ensure serial data isn't from re-programming
delay(1000);
lcd.clear();
lcd.print("Segu");
}