Devices & Components
Arduino Uno Rev3
5 mm LED: Green
Smart Plug
Resistor 220 ohm
Hardware & Tools
Female USB Adapter
USB type a to type b
Software & Tools
Arduino IDE
Project description
Code
LED_CODE
c_cpp
Copy and paste into the Arduino IDE
1int led = 13; 2 3void setup() { 4 5 pinMode(led, OUTPUT); 6 7} 8 9void loop() { 10 11 digitalWrite(led, HIGH); 12 13}
Downloadable files
Arduino LED cicuit
This image was made by Arduino in their "Blink" tutorial. My circuit is the same connection.
Arduino LED cicuit

Arduino LED cicuit
This image was made by Arduino in their "Blink" tutorial. My circuit is the same connection.
Arduino LED cicuit

Comments
Only logged in users can leave comments