Page 1 of 1

The USR switch

Posted: Fri May 10, 2019 9:59 am
by rhubarbdog
Is the USR switch on the pyboard debounced electronically or in the software (micropython)

Re: The USR switch

Posted: Fri May 10, 2019 10:33 am
by ThomasChr
See the shematic: As far as I know there is no debouncing happening anywhere. You need to do it yourself.

Re: The USR switch

Posted: Fri May 10, 2019 4:30 pm
by jimmo
ThomasChr is correct:
See https://github.com/micropython/micropyt ... 32/usrsw.c there's no denouncing there and the schematic has no capacitance across the switch.