CC2541_I2C_C语言程序调用接口与arduino的wire相同,i2c初始化:begin(uint8address,i2cClock_tclockRate);i2c写:beginTransmission()->write(data)->endTransmission();i2c读:requestFrom()->read(0)(参数0表示发送响应ack,1表示发送响应nack)->endTransmission();