Questions tagged [io-expander]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
2answers
60 views

How to read input pin on MCP23017?

I'm working to develop a simple code for MCP23017 that I want to use to run LCD128x64. I was succeeded to set IODIRB as output and blink LED as a test. Now I want to read the pin state, but I couldn'...
0
votes
0answers
109 views

Completing an action on button release help with delaying to give other modules time to repond

I'm currently having problems with my code it has several modules within the main one is my current keypad one working of a mcp23017. what I needed it to do is count how long a key is pressed and upon ...
1
vote
1answer
85 views

Wire with MCP23008 I/O expander with I2C

I'm trying to read from an MCP23008 I/O expander using the Wire library over I2C. The MCP23008 is wired to address 0x04, giving an effective device address of 0x24. Writing to the device GPIO seems to ...
1
vote
2answers
121 views

Arduino Uno - Building a Controller

I have the Arduino Uno and I'm working on a project to build a controller with different inputs and some outputs for readouts. In classic style, I got the Arduino Uno before realising that I might not ...
0
votes
1answer
738 views

Arduino Wire communication with MCP23008 GPIO pin expander to turn on an LED with a button press

I am using an Arduino Uno and an MCP23008 GPIO pin expander, I have a momentary button connected to GPIO 2 on the MCP23008 and an LED light connected to GPIO 1 on the MCP23008. What I want is for the ...
0
votes
1answer
198 views

MCP23S17 library crashes

I have a rather voluminous sketch with a heap of source and header files. Now I'm facing the problem, that controlling the MCP23S17 on my board fails in different ways within this sketch. This is ...