Society of Robots - Robot Forum
|
Robot Tutorials
|
FAQ
|
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Squirrels have fuzzy tails.
Home
Help
Search
Login
Register
Society of Robots - Robot Forum
»
Software
»
Software
»
i2c on axon
Print
Author
Topic: i2c on axon (Read 2631 times)
0 Members and 1 Guest are viewing this topic.
vidam
Supreme Robot
Posts: 423
Helpful? 1
Robotronics.org
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,
Logged
Admin
Administrator
Supreme Robot
Posts: 11,703
Helpful? 173
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.
Logged
subscribe to SoR's YouTube account
Print
Society of Robots - Robot Forum
»
Software
»
Software
»
i2c on axon