I need to talk to an I2C proximity sensor, using a meag169 at the uC. I'm using Studio 7. I have a fairly complex project started in Studio 7 that originally used a different sensor, but now require changing to an I2C sensor. It seems that most of what I can find is aimed at the Arduino environment, and I'm not using that and don't want to - I need some real debugging capability.
I found an I2C package by Peter Fleury, but I cannot seem to find a way to make the system build my test application. From what I can tell, this particular package is fairly old, and not compatible with the mega169, as the register definitions used don't match the USI in the mega169.
So, I am getting toward my wits end. What library (or source/header combo) can I use with AS7 that has functions for I2C on a mega169 with the USI?