THanks Charles.
I was still having trouble, so went back to trying to write to serial EEprom. I was having no luck until I set
SSPCON =%00101011
Everything then started to happen. I thought that would be done in the I2CREAD and I2CWRITE.
Then by merging what you posted all looks good.
Thanks again for your help.
Now onto the next bit - trying to write values from the EEprom to the I2C DAC
This PIC stuff is great. I'm loving it!!




Bookmarks