ピーと音を鳴らします。 digitalWrite(buzzer, HIGH); は「ブザーに電気を送って音を出せ」という命令 結果: このプログラムを動かすと、ブザーがずーっと「ピー」と鳴り続けます。止まることはありません。
Figure an Arduino most matches the "Other" category. To be specific, it isn't an Arduino brand, it is a DigiSpark, but the trouble isn't with the device itself. The problem is with a buzzer. I got the ...