Skip to content

Fix expander i2c address and touchpad issues#24

Merged
lanrat merged 4 commits intolanrat:mainfrom
elratt0r:fix_touchpads
Apr 3, 2023
Merged

Fix expander i2c address and touchpad issues#24
lanrat merged 4 commits intolanrat:mainfrom
elratt0r:fix_touchpads

Conversation

@elratt0r
Copy link
Copy Markdown
Contributor

@elratt0r elratt0r commented Apr 2, 2023

MCP23017_INTFA is the register address, not the i2c bus addr. Using the newly introduced IO_INT_ADDR resolved also the touchpad sensivity problem mentioned in 6e512f7. In main.c I made use of the library exposed function that leaves out dealing with the expander addresses completely.
(I am right now testing how this can also be incorporated in the checkBootPads - I will get a inkplate10v2 soon and that has a different expander chip)

@lanrat
Copy link
Copy Markdown
Owner

lanrat commented Apr 3, 2023

Thanks for the PR for adding better support for the Inkplate10v2!

However, after testing, I still have the touchpad sensitivity issue, especially when on USB power.

@lanrat lanrat merged commit 5bb4011 into lanrat:main Apr 3, 2023
@elratt0r
Copy link
Copy Markdown
Contributor Author

elratt0r commented Apr 4, 2023

Thx 4 merging. I wonder about this sensivity issue, because there is no code involved in calibrating them. They're connected via their converter ic's directly to the expander. Did you do a "--target clean"? I had problems with the expander functions when rebuilding until I cleaned up the build and the library cache.

@lanrat
Copy link
Copy Markdown
Owner

lanrat commented Apr 4, 2023

Thanks for that clean suggestion. That seemed to work on my device, so I added the suggestion to the README as well.

@elratt0r elratt0r deleted the fix_touchpads branch April 28, 2023 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants