Is there any way to set an IO pin output type to open drain, rather than push-pull?
I want to connect some PWM outputs to ZXLD1366 Power LED drivers. The ADJ input of these devices can be driven directly by an open collector/open drain PWM source to adjust the LED brightness.
I guess this question also extends to IO inputs, and setting the optional internal pull-up or pull-down resistors.
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.
Is there any way to set an IO pin output type to open drain, rather than push-pull?
I want to connect some PWM outputs to ZXLD1366 Power LED drivers. The ADJ input of these devices can be driven directly by an open collector/open drain PWM source to adjust the LED brightness.
I guess this question also extends to IO inputs, and setting the optional internal pull-up or pull-down resistors.