Ensure your device works with this simple test.
../examples/mcp230xx_simpletest.py
Simple demo of reading and writing the digital I/O of the MCP2300xx as if they were native CircuitPython digital inputs/outputs.
../examples/mcp23Sxx_simpletest.py
Example showing the event detect interrupt feature
../examples/mcp230xx_event_detect_interrupt.py
Example showing the event detect interrupt feature
../examples/mcp23Sxx_event_detect_interrupt.py
LEDs and buttons example for the MCP230xx
../examples/mcp230xx_leds_and_buttons.py
LEDs and buttons example for the MCP23Sxx
../examples/mcp230xx_leds_and_buttons_irq.py