Untitled
Anonymous
plain_text
05/05/2023 11:18 AM
356 B
19
Indexable
int ledPin = 13;
const int buzzer = 9;
void setup() {
pinMode(ledPin, OUTPUT);
pinMode (buzzer, INPUT);
}
void loop()
{
tone(buzzer, 1000);
digitalWrite(LED_BUILTIN, HIGH);
delay(60000);
digitalWrite(LED_BUILTIN, LOW);
delay (30000);
}Editor is loading...