Since the ATtiny841's hardware TWI is can only be a slave, I am using Fleury's i2cmaster to communicate to the humidicon sensor, the slave. The code builds fine in AtmelStudio 7, but does not really do anything. I am using fleury's sample code. I have a few issues that I am not sure of and would like some help with resolving.
1. Not sure what to replace 0xA2 in "#define Dev24C02 0xA2"
2. I did not change the delay, not sure how to go about doing that
3. I set SDA and SCL to an unused pin for simple i/o, but did not set a direction. However, oscilloscope shows correct waveforms. (probably not this one then)
4. I may have soldered the HIH9131 soic incorrectly onto the DIP adapter for my breadboard. Damaged HIH9000 chip? (did not follow installation instructions)
I put breakpoints in Fleury's example code, but the program never stops at any of them. I am programming with JTAGIC3 (ISP) on debugWIRE.