It’s finaly works !
I have set the buttonPin to the GPIO number (3) insted of the Digital input (1).
But I don’t know why, the buzzer is on Digitial 3 /GPIO 5. And it works when I set “int speakerPin = A3;”.
Thanks for your help PJ_Glasso !
It’s finaly works !
I have set the buttonPin to the GPIO number (3) insted of the Digital input (1).
But I don’t know why, the buzzer is on Digitial 3 /GPIO 5. And it works when I set “int speakerPin = A3;”.
Thanks for your help PJ_Glasso !