Shop OBEX P1 Docs P2 Docs Learn Events
I2C for BS2e — Parallax Forums

I2C for BS2e

tazmaniatazmania Posts: 1
edited 2007-01-04 16:31 in BASIC Stamp
hello. happy new year
I need to know as I can control 2 pin of a BS2e to use them as port of communication I2C (as well as it has the BS2p in ahead)
thank a lot.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-01-04 16:31
    Hello,
    ·
    ·· The BS2e, like the BS2, does not have I2C commands.· You can however communicate with most I2C devices using a BS2 (or BS2e).· At the link below there is code for talking to an EEPROM.· Source code is available for the BS2p which uses the I2C commands, as well as for the BS2, which uses slightly different code to access the EEPROM.· This could help you understand how to write your BS2e code.· Take care.

    http://www.parallax.com/detail.asp?product_id=602-00013

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
Sign In or Register to comment.