Weird i2c (default wire library) behavior #465
dattasaurabh82
started this conversation in
Library discussion
Replies: 1 comment 1 reply
-
That is the expected result if you don't have external pullups. This described in the Wire/I2C section of the readme.... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I was trying to write a small scanner because I wanted to use an RTC RV-8803-C7
pin map:
RV-8803-C7 -------- ATTINY1607
VIN<----------------- SUPPLY VOLTAGE (3V)
GND<---------------- GND
SCL<---------------- SCL
SDA<---------------- SDA
I came across tiny-mega-i2c as an alt to wire library for it's low footprint.
For a simple scanner code, using tiny-mega-i2c, I get the proper address on scan:
If I now try to write the same scanner with std. wire library, nothing happens 🤨
Is this because of the non-existence of☹️
external pull-ups
on my connections, or something else?Now I'm wondering how some other slave libraries that uses std wire library are working with the new ATTINYs!
Beta Was this translation helpful? Give feedback.
All reactions