• input_pullup and input_pulldown are very appropriate for general purpose pullup/pulldowns.

    I'm not sure whether you can set pinMode() to input_pullup and have that replace the I2C pullups though - I'd never seen it done on the Espruino, so I was under the impression that it didn't work for some reason.

About

Avatar for DrAzzy @DrAzzy started