
|
|
Quellcode |
1 2 3 4 5 |
void handleFrontFlash() { if (!SoSiStop) { unsigned long currentMillis = millis(); if (currentMillis - prevMilliFrontFlash >= frontFlashIntervall) { prevMilliFrontFlash = currentMillis; switch (state) { case 0: frontFlashLedState = LOW; frontFlashIntervall = 50; state = 1; break;
case 1: frontFlashLedState = HIGH; frontFlashIntervall = 100; state = 2; break;
case 2: frontFlashLedState = LOW; frontFlashIntervall = 1000; state = 3; break;
case 3: frontFlashLedState = HIGH; frontFlashIntervall = 100; state = 0; flashCount++; break; } } digitalWrite(LED_Front, frontFlashLedState);
}}
|

Das einzige, was ich in die Richtung gefunden habe war das hier:
vor Deinem Vorhaben.
(mit einem von vorne bis hinten umgebauten Auto kann mal leider nicht in die Werkstatt
).
Forensoftware: Burning Board®, entwickelt von WoltLab® GmbH