Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

I2C communication

Status
Not open for further replies.
I do not know much about I2C communication but I have a code which reads data from RTC. In case the rtc did not send the data will I stay in infinite loop? I am sorry I do not have access to source code. I wanted to know how I2C driver is written in general if there is no response from slave.
 
No one can know how our code works.
I think there should be a time out.
You can unplug the RTC and see if the code times out. (error)
 
Status
Not open for further replies.

Latest threads

Back
Top