• Thanks, good thinking. I'd resisted the input sanity checking on .mode() out of fear of reducing performance, but I realize now that pin.mode() is the one case where you don't care so much about speed.

    The port functions are planned, and trivial to implement.

    Should the pin class (PEP) be in a different module? If so, how should I name it? I think the same pin class could be shared by most port expanders.

About

Avatar for DrAzzy @DrAzzy started