Hi everyone,
I had an arduino library for MCP23S17 (just for switching I/O and reading 0/1 sensors), but I need to use it with my FreeRTOS code. Does anyone has used this chip before with ESP32? Is there a library for MCP23017 (in case)?
Thank you for your help,
Damian
Library for MCP23S17
Library for MCP23S17
- Attachments
-
- MCP23S17.c
- (3.27 KiB) Downloaded 1063 times
Re: Library for MCP23S17
I once had a go at such a library. My effors are here:
https://github.com/nkolban/esp32-snippe ... P23017.cpp
https://github.com/nkolban/esp32-snippe ... P23017.cpp
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: Library for MCP23S17
I have a working implementation for it in my C++ framework: https://github.com/PerMalmberg/Smooth/b ... P23017.cppdamian_py wrote:Hi everyone,
Is there a library for MCP23017 (in case)?
Damian
It relies on some other classes to abstract all the I2C administrative tasks and to make the I2C bus thread safe so you'll have to dig around a bit. The code is currently GPL'd (thinking about changing it), but nothing prevents you from looking at and taking inspiration from it.
Who is online
Users browsing this forum: No registered users and 50 guests