#define buzzer 2 void setup() { pinMode(buzzer, OUTPUT); } void loop() { digitalWrite(buzzer, HIGH); }