• both LEDs (post #14)

    ...is using one and the other time multiplexed: out low, out high, and then some tri-state/floating. I guess you do already so.

    For tri-state plain input is sufficient.

    You just leave it auto, do writes H or L, or HLHKLHL..., and for off do a read. That's the smallest foot print. pinMode is a resource hog - sorry, no offense - that makes it very easy to read what's going on. If you have to flip dynamically mode for a bunch at a time, you can only bundle auto configured pins, w/ read and write. All others you have to do individually and explicitly...

About

Avatar for allObjects @allObjects started