Skip to content

A MicroPython module for interfacing with the MCP23S17 SPI GPIO expander on the Raspberry Pi Pico. Provides configuration and high and low level read/write access.

License

Notifications You must be signed in to change notification settings

kylenahas/Pico_MCP23S17

 
 

Repository files navigation

Pico_MCP23S17

This library is based on jebentancour/Pi-MCP23S17.

This library is compatible with the MicroPython for the Raspberry Pi Pico and RP2040 Microcontrollers.

To use it (it must be in the same directory):

from Pico_MCP23S17 import MCP23S17

Examples:

Blink_gpio_expander_test:

Toggles an onboard LED + all MCP pins at 5Hz.

Button_gpio_expander_test:

Prints a message and toggles LED if a pin changes.

About

A MicroPython module for interfacing with the MCP23S17 SPI GPIO expander on the Raspberry Pi Pico. Provides configuration and high and low level read/write access.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%