W7500 mbed SDK Porting Guide (5/6)
W7500 mbed SDK Porting GuideI2C Master Porting예제 코드int main() { int address = 0xA0; char tx_data[27] = {0x00, 0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8, 0x08, 0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F,0x10, 0x10, 0x11,0x12,0x13,0x14,0x15,0x16,0x17,0x18}; char rx_data[22]={0}; I2C i2c(I2C_SDA, I2C_SCL); i2c.start(); i2c.write(address,tx_data,9); wait(1); i2c.start(); i2c.write(address,0x00,1,true); i2c.re..
2015.10.08