Devices & Components
Arduino Uno Rev3
Resistor 10k ohm
5 mm LED: Red
Software & Tools
Arduino IDE
Project description
Code
Arduino Blink
c_cpp
1void setup() { 2 3 pinMode(12, OUTPUT); 4} 5 6 7void loop() { 8 digitalWrite(12, HIGH); // turn the LED on (HIGH is the voltage level) 9 delay(1000); // wait for a second 10 digitalWrite(12, LOW); // turn the LED off by making the voltage LOW 11 delay(1000); // wait for a second 12}
Downloadable files
ARDUINO
Just connect the led short pin to Ground of arduino and long pin to 12th Pin of arduino through 220 ohm resistor
ARDUINO

ARDUINO
Just connect the led short pin to Ground of arduino and long pin to 12th Pin of arduino through 220 ohm resistor
ARDUINO

Comments
Only logged in users can leave comments