/*
Name: Michael Lackner
Klasse: 2BHME"
Datum: 18.03.2025
Zweck: Eieruhr
*/
//Globale Variablen
int minutes = 3;
int seconds = 30;
int a = 0; //Reservevariable für später
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(LED_BUILTIN,OUTPUT); //Eingebaute LED als Anzeige
}
void loop() {
// put your main code here, to run repeatedly:
if (minutes < 10) {
Serial.print(0);
}
Serial.print(minutes);
Serial.print(":");
if(seconds < 10); {
Serial.print(0);
}
Serial.println(seconds);
}