void setup() {
// put your setup code here, to run once:
//Q.4 write a program to interface buzzer with Arduino
// board to buzz on/off with the delay of 1 sec.
pinMode(8, OUTPUT);
}
void loop() {
// put your main code here, to run repeatedly:
tone(8,1000,1000);
tone(8,0,000);
}