Re: How to use RB associated A/D channels simultaneously with SCL/SDA for I2C bus?
Page 85 of PBP shows a diagram connecting 24LC01 to a pic 16F84. This should answer your question. As I have already mentioned in my previuos post, the use of SLC/SDA pins is mandatory only if your intention is to use the pic as a slave device. In such a case you will need to use all the registers associate with SLC/SDA. Using the pic as a master you don't need any of those register but the two instructions I2CREAD and I2CWRITE will take care of all the timing necessary for the two ways communication. Remember to use pullup resistors (2.2k to 4.7k)
Cheers
Al.
All progress began with an idea
Bookmarks