-
Hardware I2C ?
Is there a PBP hardware I2C command like the I2CWRITE ?
if not how do you do it in PBP using the on the board I2C hardware (SSP module) ?
i am using the 16F690, but the question is more general than that chip
while i am on this ...
the application in mind is an I2C character LCD module, they also have one in SPI, any pros and cons code wise to use one over the other ?
i am probably not pin constrained
tia
-
Re: Hardware I2C ?
Hi,
No, there are no PBP commands for I2C using the SSP/MSSP module, you'll need to set it up and "run it" manually. Personally I've never used I2C so I'm not of much help on the specifics there but I've used the MSSP module in SPI mode on a couple of projects and once you get the hang of it it's pretty straight forward. I2C seems a bit more complicate than SPI but I don't think it should be too hard to figure out.
/Henrik.