void loop() { digitalWrite(led, HIGH); delay(1000); digitalWrite(led, LOW); delay(1000); } This sketch blinks an LED connected to pin 13 on and off every second.
int led = 13;
void setup() { pinMode(led, OUTPUT); }
This site uses cookies. By proceeding, you agree to our Privacy Policy, including the use of cookies and their tracking technologies.