crayon-syntax-highlighter/util/sample/arduino.txt

12 lines
365 B
Plaintext
Raw Normal View History

2019-08-30 19:30:19 +02:00
#define LED_PIN 13
void setup () {
pinMode (LED_PIN, OUTPUT); // enable pin 13 for digital output
}
void loop () {
digitalWrite (LED_PIN, HIGH); // turn on the LED
delay (1000); // wait one second (1000 milliseconds)
digitalWrite (LED_PIN, LOW); // turn off the LED
delay (1000); // wait one second
}