News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

Main Menu

Libraries for MC23S17 & MCP23017 IO-Expanders

Started by AlbertoFS, Jun 02, 2023, 01:02 PM

Previous topic - Next topic

AlbertoFS

There are SPI and I2C software libraries for the IO-Expanders MCP23S17 and MCP23017. (1 expander only)

The configuration of the registers has been simplified to 3 parameters [Inputs/Outputs] / [Inputs Polarity] / [Inputs Resistors PullUps].
There are many controls that will make your application easier.
It has been specially studied for its use for interrupts.
You have to get past the MCP_Init() command and the rest is easy.

Libraries for 2 or more expanders will be published soon...
73's de EA3AGV