mirror of
https://github.com/2martens/uni.git
synced 2026-05-06 19:36:26 +02:00
16 lines
288 B
C++
16 lines
288 B
C++
int ledPin = 7;
|
|
|
|
void setup() {
|
|
// put your setup code here, to run once:
|
|
pinMode(ledPin, OUTPUT);
|
|
digitalWrite(ledPin, LOW);
|
|
}
|
|
|
|
void loop() {
|
|
// put your main code here, to run repeatedly:
|
|
digitalWrite(ledPin, HIGH);
|
|
delay(2000);
|
|
digitalWrite(ledPin, LOW);
|
|
delay(500);
|
|
}
|