I put a label at the end of my i2C write statement to flash an LED if there is no acknowledge from the chip.
there is NO acknowledge...the LED is flashing. So that's a result I will work with. I have extra port expanders (all pretested) and 16F887s.
Update:
Changed out port expanders: no change
Changed out 16F887: no change
Changed SDA and SCL port from PortC.4 and PortC.3 to PortA.5 and PortA.4: works. Acknowledge led is OFF>
Any insight into why PortC didn't work but PortA does? ON the LabX1, C.4 and C.3 are designated for I2C.




Bookmarks