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.
5 years, 1 month ago.
Why i cant R/W?
My RTC from sparkfun (same model) works well with Arduino. But I can`t seem to get it to work with Mbed I get error on R/W operations both read and write.
The i2c cables are linked from p28 and p27 for Data and Clock respectively. Any help appreciated it.
Copy from Terminal:
seconds set are 24 min set are 13 hour set are 13 day set are 04 date set are 20 month set are 06 year set are 12 Last R/W operation failed! seconds read are 24 min read are 13 hour read are 13 day read are 04 date read are 20 month read are 06 year read are 12 Last R/W operation failed! Value written to register 0x20 39 Last R/W operation failed! Value read from register 0x20 00