edge lab LIVE! starts Tuesday in Munich. Grab a workshop seat and take home the board you build on. Code FRIEND-HACKSTER saves 20%. () Learn more!
mohss
Published

blink

Easy blink

BeginnerProtip417
blink

Things used in this project

Hardware components

5 mm LED: Red
5 mm LED: Red
×1
Arduino Mega
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Schematics

blink

Code

blink

Arduino
void setup() {
 
pinMode(13,OUTPUT);
}

void loop() {
 
digitalWrite(13,HIGH);
delay(1000);
digitalWrite(13,LOW);
delay(1000);
}

Credits

mohss
4 projects • 1 follower

Comments