Shop OBEX P1 Docs P2 Docs Learn Events
I2C slave example — Parallax Forums

I2C slave example

TimmooreTimmoore Posts: 1,031
edited 2009-05-29 17:58 in Propeller 1
Heres an example of a I2C slave that is exposing a number of devices attached to the propeller. The I2C master in this case was the controller used by FRC (First robotics) (NI CRio). I found a number of devices wouldn't work with the FRC controller when I was testing the interface·- e.g. HMC6343 needing slave clocking stretching in a way it didn't support. The roboticsconnection devices dont use registers that the FRC controller requires.
Some devices will work such as the srf02 and i2cit so they could be attached either directly to the FRC controller or via the propeller.
Once I got started I kindof went round most devices I had either connecting to the prop or to the CRio to see what would work.

Comments

  • Mike HuseltonMike Huselton Posts: 746
    edited 2009-05-29 17:58
    May the best man (Hippy or Tim) win!

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    JMH
Sign In or Register to comment.