I2C for BS2e
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.
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
·
·· 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