int dt=1000;
int buzzPin=12;
void setup() {
Serial.begin(9600);
pinMode(buzzPin, OUTPUT);
}
void loop() {
tone(buzzPin,500); // Replace with the desired frequency
delay(dt);
noTone(buzzPin);
delay(dt);
}
int dt=1000;
int buzzPin=12;
void setup() {
Serial.begin(9600);
pinMode(buzzPin, OUTPUT);
}
void loop() {
tone(buzzPin,500); // Replace with the desired frequency
delay(dt);
noTone(buzzPin);
delay(dt);
}