Shop OBEX P1 Docs P2 Docs Learn Events
Are I2CIN/I2COUT commands available on pins other than P0/P1 and P8/P9? — Parallax Forums

Are I2CIN/I2COUT commands available on pins other than P0/P1 and P8/P9?

I am new to the microcontroller programming world (but not to programming). I am replacing the obsolete Javelin Stamp microcontroller with the Basic Stamp microcontroller BS2P24 on an already designed printed circuit board that uses I2C devices. I chose the Basic Stamp 2p24 because it has the same pin out as the Javelin and has I2C instructions. I was hoping to port the java code into PBasic and insert the new BS2p24 microcontroller. The legacy application has the I2C bus master on pins P14/P15. It seems that during prototyping that I2COUT/I2CIN only can be assigned to P0/P1 and P8/P9.

Are I2CIN/I2COUT commands available on other pins?

Thanks
Paul

Comments

  • Per page 226 of the Basic Stamp Manual rev 2.2, in the Quick Facts box pretty much spells it out, P0 & P1 or P8 & P9 if you want to use the built in I2C. If you bit bang your own then you can use any pin you want.
  • Thanks Hal.
Sign In or Register to comment.