just a blinky.
This commit is contained in:
commit
5592b5342f
|
|
@ -0,0 +1,15 @@
|
||||||
|
|
||||||
|
void setup() {
|
||||||
|
pinMode(13, OUTPUT); // Set pin 13 as output
|
||||||
|
Serial.begin(1151200); // Start serial communication at 9600 baud
|
||||||
|
}
|
||||||
|
|
||||||
|
void loop() {
|
||||||
|
digitalWrite(13, HIGH); // Turn the LED on
|
||||||
|
Serial.println("LED ON"); // Print status
|
||||||
|
delay(1000); // Wait 1 second
|
||||||
|
|
||||||
|
digitalWrite(13, LOW); // Turn the LED off
|
||||||
|
Serial.println("LED OFF"); // Print status
|
||||||
|
delay(1000); // Wait 1 second
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue