const int tonePin = 9; // Change this to the desired output pin
const int frequency = 1000; // Frequency in Hertz
const int duration = 1000; // Duration in milliseconds
void setup() {
pinMode(tonePin, OUTPUT);
}
void loop() {
tone(tonePin, frequency, duration);
delay(duration + 100); // Add a small delay between tones
}