Skip to content

problems getting mcp23017 to work with IoAbstraction with interrupt (polling works though..) #183

Closed Answered by Hans0lo
Hans0lo asked this question in Q&A
Discussion options

You must be logged in to vote

i dunno exactly why, as in the end everything now works perfectly... no ISR routine by me needs to be added, its all handled well by the lib.

IoAbstractionRef ioExpander = ioFrom23017(0x20,ACTIVE_LOW_OPEN,43);
keyboard.initialise(ioExpander, &keyLayout, &myListener, true);

since i have not really changed my initial approach I assume that maybe the interrupt cable was connected to a wrong pin on the ESP - that is at least the only idea i have why i did not work first, but does now.

thnx a million for this great lib!

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@davetcc
Comment options

@Hans0lo
Comment options

Answer selected by davetcc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants