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
577 stars 192 forks source link

Setting pin to INPUT_PULLUP #72

Open void4 opened 6 years ago

void4 commented 6 years ago

It seems to be implemented in the Firmata library, does pyfirmata support it as well?

dianugrah commented 5 years ago

it seems until now still not yes supported. hopefully it soon as possible

RazowSy commented 5 years ago

still no update for pull up?

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

denuradhan commented 3 years ago

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

commit: ale-novo@65bc649

you should use pin mode as INPUT_PULLUP

its work's thank you

NicusorAmarie commented 2 years ago

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

commit: ale-novo@65bc649

you should use pin mode as INPUT_PULLUP

It doesn't seems to work for me tho, i'm using this syntax

COM = board.digital[9] COM.mode = pyfirmata.INPUT_PULLUP