Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 10 months ago.
cannot receive the ACK
I use this lib on the stm32f103 board, but always receive the ACK error. It seems the I2C cannot work correctly.
Question relating to:
1 Answer
7 years, 10 months ago.
It looks like this library was written for the original mbed LPC1768 and it uses several calls to the I2C byte write and read operations. Unfortunately these byte sized operations dont properly on many other platforms apart from the LPC1768 and LPC11u24. The library should be modified to only use the I2C block write/read operations instead.
A quick search shows that there are already some libs for the SHT21 that use the regular I2C block operations which are supported by all platforms. See here for example.
posted by 15 Jul 2017