• what happens if you do pinMode(pin,"opendrain"); and then digitalWrite() to the pin?

    Does that not give the desired effect? digitalWrite() should not change the pin mode if you've set it with pinMode().

About

Avatar for DrAzzy @DrAzzy started