

Wire. Also, in spite of having changed the frequency to both 100 and 400 kHz i have this weird 1.953 kHz clock. Starts fine, then appears to go wonky, after a few of these wonky bursts the lines go silent. This is how the messed up I2C line looks in both cases. Compiled fine, loaded the binary and got the same behaviour.

Second attempt was with the cores from Drazzy ATTinycore which came with its own Wire library. It would make sense for only RTClib.h to include Wire.h yes, but the IDE does not get the information to add Wire to the compilation list that way. Compiled fine, loaded the binary with avrdude, got a few first TWI communication fine, then it started trashing. 1.I2C (Inter-Integrated Circuit bus), originally developed by Phillips (now NXP Semiconductor) and also commonly known as TWI (Two Wire Interface) by Atmel. Not getting too formal here, The arduino IDE looks at which libraries are included in the top level sketch when deciding what libraries to include in the compilation. So i went into C:\Program Files\Arduino\hardware\arduino\avr\libraries, grabbed the Wire folder and copied it into C:\Program Files\Arduino\libraries. It is mounted on my own board (which worked fine if I dropped an ATMega instead).Įdited - prev screencapture were from an ungrounded logic analyzerįirst tried the Femtocow ATTiny - it has complained about no Wire library at the #include Wire.h line.

This is the MCU: - it advertises a hardware I2C interface, but I am struggling with it.
