jaretburkett / Arduino-I2C-Port-Expander

Turn any Arduino compatable chip into an amazing I2C port expander / touch screen controller.
MIT License
19 stars 14 forks source link

Doesn't work for me on an ATtiny85... #8

Open dl9sec opened 11 months ago

dl9sec commented 11 months ago

Hi,

I was really pleased with this library/application since I only need two more digital I/Os and I'm using the I2C bus on an ESP8266 "D1 mini" for an OLED and an EEPROM anyway.

So I took an ATtiny85 out of the craft box, downloaded and installed the "TinyWireS" library and then programmed "ATtiny_Slave_I2C_Port_Expander" (everything in the default settings) into the ATtiny.

SDA is connected to pin 5 (PB0/GPIO0) and SCL to pin 7 (PB2/GPIO2).

As soon as the ATtiny is connected to the I2C, communication via the I2C is disrupted and my OLED display only shows nonsense. As soon as SDA is connected, nothing works on the I2C.

Did I miss something? Are there any things that need to be taken into account if no other participants are operating on the I2C?

Thank you.

Regards, Thorsten