execuc / u2if

USB to interfaces implementing MicroPython "machine" module functionalities on a computer.
Other
155 stars 27 forks source link

Disable GPIO pull when Pin.PULL_NONE #15

Open zrezke opened 1 year ago

zrezke commented 1 year ago

Currently GPIO pins get pulled low when the user sets Pin.PULL_NONE - the expected behaviour would be a floating pin... This PR disables GPIO PULL when GPIO pull isn't UP or DOWN