Flickering Light With Buzzer
in this project i will be making a flickering light connected to a buzzer.
Supplies
1 buzzer
1 led
6 wires
1 potentiometer
1 resistor
1 breadboard
1 Arduino
Wire the Bread Board
Wire up the bread board and the Arduino
wires 5v, GND and A 0 to the potentiometer.
pin 13 to positive side of the LED and the buzzer
connect the GND to resistor to the negative side of the LED and the negative side of the LED
Code
I went to examples under the file tab and went to analog stick and that is how i got the code.