11th feb i2c checking chaitu's code
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: i2c.h
- Revision:
- 352:022c513aee03
- Parent:
- 346:204497974293
- Child:
- 353:890c6b98392a
--- a/i2c.h Sun Jan 22 04:47:11 2017 +0000 +++ b/i2c.h Mon Feb 06 16:36:46 2017 +0000 @@ -140,7 +140,7 @@ // gPC.printf("i2C_wr\r\n"); CDMS_I2C_GPIO = 1; write_ack = master.write(addr_bae|0x00,data,tc_len2); - Thread::wait(1); //As per the tests Thread::wait is not required on master side but its safe to give 1ms + Thread::wait(1); //As per the tests Thread::wait is not required on master side but its safe to give 1ms pdirw1=PTE->PDIR; uint8_t i2c_count = 0; if(write_ack == 0)