Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
SoftwareSerial BTSerial(0, 1); //RX|TX
您正在将硬件串行引脚用于软件串行。然后您同时使用两者,这会破坏数据。
将软件串行引脚移动到不同的引脚,例如 2 和 3。