LED Controlled by a Serial Monitor
by DA BEAR12345 in Circuits > Arduino
15 Views, 0 Favorites, 0 Comments
LED Controlled by a Serial Monitor
welcome to my tutorial on how to make a thing where an LED blinks the amount of times you tell it to using the serial monitor
Supplies
one LED
one 330 ohm resistor
one Arduino board preferably an Arduino nano
at least one wire
a breadboard
the code I gave you
Put in Arduino Board
get your Arduino nano and place it on the bread board make sure it is in the middle to prevent shorts and press into breadboard firmly.
Put in Resistor
next put a resistor on any empty space on the breadboard and connect one side to pin 2 or D2
Put in LED
then connect the short side of a LED to ground or GND and the long side to the resistor
TADA!!!
for the final step compile your code to the Arduino and put in the number of times you want it to blink and TADA!!!