-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No provision for a I2C bad communication or the IC not present #6
Comments
While playing with the console example, I added these lines near the end of setup()
While this just warns the user and hangs, it is just the console and if the chip is not there then there is no point in continuing. |
Agree, I'm thinking on a function that allows the user to test the presence of the IC. Like |
Hi, thanks for your good work! |
Yup, I think this is the way, and setup a warn code section on the example, to teach the users how to use that feature |
The library has no provision for a bad communication or even the IC not present, the sketch will simply hang and will not work.
It must has a way to alert the user that the IC in not there or even that there is no IC. In it most basic form it must not hang the full sketch for this.
The text was updated successfully, but these errors were encountered: