is propeller I2C enabled?

ALIBEALIBE Posts: 299
edited 2006-03-31 - 20:10:09 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:38
    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:55
    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:59
    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:09
    ok - that will work.
Sign In or Register to comment.