Shop OBEX P1 Docs P2 Docs Learn Events
is propeller I2C enabled? — Parallax Forums

is propeller I2C enabled?

ALIBEALIBE Posts: 299
edited 2006-03-31 20:10 in Propeller 1
is it?

I have a devantec srf08 range sensor from brainstem. Can propeller drive I2C devices

thanks

Comments

  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-03-31 20:03
    With a bit of code, sure. I'm working on an I2C object.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • ALIBEALIBE Posts: 299
    edited 2006-03-31 20:04
    thanks -

    does the dev board have an i2c port? i did not see in the pic.
  • Jon WilliamsJon Williams Posts: 6,491
    edited 2006-03-31 20:07
    Any two pins can be used for I2C (will pull-ups, of course). On start-up, the user program is loaded from a 24LC256 EEPROM (I2C) on pins A28 and A29. In my planning, I'm going to use these pins -- being careful not to write anything to the device at address %000 as that could corrupt the program to a subsequent start-up.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Jon Williams
    Applications Engineer, Parallax
  • ALIBEALIBE Posts: 299
    edited 2006-03-31 20:10
    ok - that will work.
Sign In or Register to comment.