bool isLightOn = true;
int score = -12;
float timeSinceStart = 1.2;
void myFunction()
{
}
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
digitalWrite(0, HIGH);
digitalWrite(2,HIGH);
delay(1000);
turnAllLightsOff();
digitalWrite(1,HIGH);
delay(1000);
turnAllLightsOff();
digitalWrite(2,HIGH);
delay(1000);
turnAllLightsOff();
}
void turnAllLightsOff ()
{
digitalWrite(0, LOW);
digitalWrite(1, LOW);
digitalWrite(2, LOW);
}