Hi, I have a SD/MMC whit SPI but I need I2C to use ci DS1307 RTC. I check others post and its impossible use SPI and I2C at the same time (is this true?) because both use the MSSP. I would like to know if somedoby have a I2C driver whithout use MSSP, in order to use any other pins to I2C.
Tnks
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
Posted: Tue Oct 02, 2007 7:40 pm
Put in a #use i2c() statement and specify two i/o pins which are not
used for the MSSP. The compiler will create software i2c Master code
for those pins.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum