MCP23017 16-bit IO Expander

Discuss development of drivers for external hardware and components, such as LCD screens, sensors, motor drivers, etc.
Target audience: Users and developers of drivers.
Post Reply
User avatar
mcauser
Posts: 437
Joined: Mon Jun 15, 2015 8:03 am

MCP23017 16-bit IO Expander

Post by mcauser » Tue Dec 24, 2019 11:39 pm

I created a library for the MCP23017 16-bit IO expander.
https://github.com/mcauser/micropython-mcp23017

Image

User avatar
mcauser
Posts: 437
Joined: Mon Jun 15, 2015 8:03 am

Re: MCP23017 16-bit IO Expander

Post by mcauser » Tue Dec 24, 2019 11:42 pm

Designed to work on my TinyPICO ESP32.
Might need some trimming to fit on an ESP8266.

It provides 3 interfaces for setting the registers.
Could be split up into separate versions and further optimised to fit on smaller boards.

Post Reply