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.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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.