Society of Robots - Robot Forum

Software => Software => Topic started by: vidam on August 31, 2008, 05:12:16 PM

Title: i2c on axon
Post by: vidam on August 31, 2008, 05:12:16 PM
hi,
has anyone used i2c interface from the axon to read a sensor value such as for this sensor http://www.robot-electronics.co.uk/htm/cmps3doc.shtml. If so then tips on how to do that would be great?

Thanks,

Title: Re: i2c on axon
Post by: Admin on August 31, 2008, 08:00:02 PM
In the Axon code you will see i2c.c and i2c.h.

It's untested code from AVRlib, but in theory if you follow the instructions in i2c.h and look at the example program in AVRlib, that should significantly help you.