2 Wire: The master side may use I2CWRITE. On the slave side, you will need to build your OWN I2C routine, using the MSSP or Bit banging. Maybe you could use some part of the following...
http://www.melabs.com/resources/samp...p/i2cslave.bas
Still possible to set a PIC USART in Synchronous mode.
3 wire: The master side may use SHIFTOUT. On the slave side, same rule apply..
http://www.melabs.com/resources/samp...p/spislave.bas
To me, a 1 wire solution is more valuable. But if your board already have a I2C bus... it's tempting to use it.
Last edited by mister_e; - 5th June 2007 at 14:02.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks