目录 硬件连接: 从机 发送 的例子 硬件连接: 本次是两个Arduino 一个作为主机,一个作为从机 具体连线方式 见上一篇 从机 发送 的例子 // Wire Slave Sender #include <Wire.h> void setup() { Wire.begin(8); // 用#8地址 连接i2c总线 Wire.