tino / pyFirmata

Python interface for the Firmata (http://firmata.org/) protocol. It is compliant with Firmata 2.1. Any help with updating to 2.2 is welcome. The Capability Query is implemented, but the Pin State Query feature not yet.
MIT License
575 stars 193 forks source link

Please consider adding INPUT_PULLUP support for pyfirmata #97

Open vochong opened 3 years ago

vochong commented 3 years ago

Hello,

Could you please consider adding the INPUT_PULLUP support in pyfirmata?

Best regards.

ale-novo commented 3 years ago

Hi, i ve added INPUT_PULLUP in my fork: https://github.com/ale-novo/pyFirmata

commit: https://github.com/ale-novo/pyFirmata/commit/65bc649e579f9883f60992da06184907df5af007

you should use pin mode as INPUT_PULLUP

eadmaster commented 2 months ago

https://github.com/tino/pyFirmata/issues/72