Button beeper

Press a button, sound a beeper

Dec 29, 2021

311 views

1 respects

Components and supplies

1

Resistor 100 ohm

1

LED (generic)

1

Male/Male Jumper Wires

1

Arduino UNO

1

push button

1

Buzzer

Project description

Code

Downloadable files

circuit_(1)_kuub1G64VR.png

circuit_(1)_kuub1G64VR.png

Immagine

Comments

Only logged in users can leave comments

Immagine
Immagine

moses_shriver

a year ago

code is as follows: void setup() { pinMode(13, OUTPUT); } // the loop function runs over and over again forever void loop() { digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level) delay(1000); // wait for a second digitalWrite(13, LOW); // turn the LED off by making the voltage LOW delay(1000); // wait for a second }