LTolledo
Posts: 945
Joined: Sat Mar 17, 2018 7:29 am

MCP230xx library for RPi: "Old" Adafruit vs CircuitPython

Sat Feb 09, 2019 12:11 am

Good day everyone!

I've been using the "old" Adafruit MCP230xx library for some time now, mostly for output stages only.
Then I just recently stumbled upon Circuit Phyton's MCP230xx library, which is supposed to supersede the "old" one.

Have not deployed it yet and want to ask around from someone who have used both before porting to the "new format"

What's the difference between the two (aside from the naming of course!)?
Is it easier to use?
inputs more stable? (do I still need a Schmitt trigger circuit for the input stage?)
how does it handle interrupts?
any known issues/problems/limitations with this library?

tried to search around the net ("googled around" as most person would say recently), but did not return any relevant hits on the matter.

a few good example codes (actually used scripts) would be appreciated.
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

LTolledo
Posts: 945
Joined: Sat Mar 17, 2018 7:29 am

Re: MCP230xx library for RPi: "Old" Adafruit vs CircuitPython

Mon Feb 11, 2019 11:08 pm

Well... after sometime and no replies indicate nobody is using CircuitPhyton for MCP23017/MCP23008 I/O expander ICs.

Probably most of us are still using the "old" version.

... and browsing on the gpiozero docs and it's github pull-up request, integration of the MCP23017/MCP23008 (and its SPI variants) are still not available....
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

Return to “Advanced users”