I have a PIC16F876A and I want to configure it as a Master PIC in I2C protocol, but not using the #use_i2c directive. Do I just edit the SPCOM3-0 BITS in the SSPCON1 Register?
mlosso1
Joined: 21 Mar 2006 Posts: 9
Posted: Tue Mar 21, 2006 11:45 am
Nevermind, I think I answered my own question, can someone confirm this.
rberek
Joined: 10 Jan 2005 Posts: 207 Location: Ottawa, Canada
Posted: Tue Mar 21, 2006 11:59 am
You always have the option of writing/reading the registers directly to do what you want. And yes, the SSPCON register would be the place to make this an I2C Master.
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