void onA(){
ledcAttach(33, 5000, 12);
ledcWriteNote(33, NOTE_C, 5);
}
void onB(){
ledcAttach(33, 5000, 12);
ledcWriteNote(33, NOTE_D, 5);
}
void onC(){
ledcAttach(33, 5000, 12);
ledcWriteNote(33, NOTE_E, 5);
}
void off(){
ledcDetach(33);
}
void setup() {
}
void loop() {
onA();
delay(200);
onB();
delay(200);
onC();
delay(200);
off();
delay(400);
}