mirror of
https://github.com/micropython/micropython.git
synced 2026-01-26 22:00:23 +01:00
Certain pins (eg 4 and 5) seem to behave differently at the hardware level when in open-drain mode: they glitch when set "high" and drive the pin active high for a brief period before disabling the output driver. To work around this make the pin an input to let it float high.