uploaded 20 hours ago
Driver for I2C/SPI 16 bit GPIO expanders MCP23017/MCP23S17
-
mcp23017
The example configures a `mcp23017` device with `PORTA0` as input and an interrupt handler attached. It also sets `PORTB0` as output, toggling all 8…
Archive size ~ 3.18 KB
-
mcp23s17
The example shows how to work with the MCP23S17 chip connected via SPI. It sets up an interrupt on pin PA0 of MCP23S17, triggered on both edges, and…
Archive size ~ 106.23 KB