The USR switch

The official pyboard running MicroPython.
This is the reference design and main target board for MicroPython.
You can buy one at the store.
Target audience: Users with a pyboard.
Post Reply
Posts: 166
Joined: Tue Nov 07, 2017 11:45 pm

The USR switch

Post by rhubarbdog » Fri May 10, 2019 9:59 am

Is the USR switch on the pyboard debounced electronically or in the software (micropython)

Posts: 120
Joined: Sat Nov 25, 2017 7:50 am

Re: The USR switch

Post by ThomasChr » Fri May 10, 2019 10:33 am

See the shematic: As far as I know there is no debouncing happening anywhere. You need to do it yourself.

User avatar
Posts: 2061
Joined: Tue Aug 08, 2017 1:57 am
Location: Sydney, Australia

Re: The USR switch

Post by jimmo » Fri May 10, 2019 4:30 pm

ThomasChr is correct:
See ... 32/usrsw.c there's no denouncing there and the schematic has no capacitance across the switch.

Post Reply