Buzzer
you can hear the active buzzer beeping once powered on
hardware
- Arduino Board
- Buzzer Board (with tag)
wire
- SIG 7
- VCC VCC
- GND GND
code
const int buzzerPin = 7;
void setup() {
// put your setup code here, to run once:
pinMode(buzzerPin, OUTPUT);
digitalWrite(bizzerPin, LOW); // initialize the buzzerPin as LOW level
}
void loop() {
}