啊,好久没更新一些代码什么的了,都快忘了这里是个技术博客了 #include <Arduino.h> #define PIN 11 // Output pin #define TONE_C 262 #define TONE_D 294 #define TONE_E 330 #define TONE_F 349 #define TONE_G 392 #define TONE_A 440 // Standard #define TONE_B 494 #define TONE_N 0 #define BEAT_TIME 450 // ms, 120bpm #define……