Hello, does anyone know any code to interface Pic18F8722 with MCP23017 via I2C? I have deleted all the SPI codes displayed on the Explorer 18 (DM183032) board and currently use RS232 and terminal interfaces. used the C18 (V3.47) compiler with MPLab X 3.15 on XP. Choose a simple test and send the data to the MCP23017 on the I2C bus. Once I have finished the work, I will try and reinstall the SPI/display code so that both I2C and SPI can be selected separately. ! ) I will throw the code away for general use. I will also try to port the code to the XC8 compiler when I get its head.
Wait for any reply. Thanks a lot!