Open michaeldsanchez opened 5 years ago
Code for piezo thus far, I do not know how accurate it is. I looked up piezo coding and tried to add if the power is on turn on the piezo.
int piezoPin = 8;
void setup() {
}
void loop() {
if power turn on
tone(8, 3000, 500);
delay(2000)
}
Tone for on.