Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MCP23017 example for PIC184550 does not compile
04-07-2016, 09:12 AM,
#4
RE: MCP23017 example for PIC184550 does not compile
Look at the PCF8574.pde sketch in Examples\04.Communications\i2c folder. It is very simple but a very good basis to know how to use an i2c expander. You have to adapt it for your chip.
Don't forget pull-up resistors on the SDA and SCK lines (logical pins 0 and 1 for the 18f4550).
lcdi2c.pde is also an excellent sketch to know how to use an I2C expander, a PCF8574 chip in this example.
André
Reply


Messages In This Thread
RE: MCP23017 example for PIC184550 does not compile - by gtcbreizh - 04-07-2016, 09:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)