Go Down

Topic: How to check the external I2C devices if they are connected (Read 327 times) previous topic - next topic


I have a Arduino Nano and 5 external I2C devices connected with I2C on pin 4 & 5.

When my sketch is starting up, it not detect if a external I2C device is connected. (i have to do this check only once at startup).

i want to create something like
Code: [Select]

and when a external device is not connected, it return with a message
Code: [Select]
lcd.print("I2C Error Device 2");

I dont know if i am on the right way.
some help are appriciate.


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131