Author Topic: i2c on axon  (Read 2625 times)

0 Members and 1 Guest are viewing this topic.

Offline vidamTopic starter

  • Supreme Robot
  • *****
  • Posts: 423
  • Helpful? 1
  • Robotronics.org
    • DC/MD/VA Robotics and Automation Team
i2c on axon
« 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,


Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: i2c on axon
« Reply #1 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.

 


data_list