這些 Do, Re, Mi, Fa, So 等積木, 預設是播放 300 毫秒 (ms), 所以後面要加個 500 毫秒的延遲, 中間有 200 毫秒的空檔, 才會聽到斷音
void setup()
{
}
void loop()
{
tone(3,392,300);
delay(500);
tone(3,330,300);
delay(500);
tone(3,330,300);
delay(1000);
tone(3,349,300);
delay(500);
tone(3,294,300);
delay(500);
tone(3,294,300);
delay(1000);
tone(3,262,300);
delay(500);
tone(3,294,300);
delay(500);
tone(3,330,300);
delay(500);
tone(3,349,300);
delay(500);
tone(3,392,300);
delay(500);
tone(3,392,300);
delay(500);
tone(3,392,300);
delay(3000);
}