pyFirmata icon indicating copy to clipboard operation
pyFirmata copied to clipboard

Setting pin to INPUT_PULLUP

Open void4 opened this issue 6 years ago • 5 comments

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

void4 avatar Sep 01 '18 21:09 void4

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

dianugrah avatar Apr 17 '19 13:04 dianugrah

still no update for pull up?

RazowSy avatar May 21 '19 13:05 RazowSy

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

ale-novo avatar May 13 '21 10:05 ale-novo

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

denuradhan avatar Jun 09 '21 13:06 denuradhan

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

NicusorAmarie avatar Dec 18 '21 12:12 NicusorAmarie