0
\$\begingroup\$

I want to debounce a button in micropython and found this page on the micropython docs: https://docs.micropython.org/en/latest/pyboard/tutorial/debounce.html

It uses a library called pyb but my problem is that when I try to import it I get an error that the module doesn't exist. I assumed it was an external module but it's not showing up in pypi.

I am using the latest version firmware version for micropython for the raspberry pico (1.23.0)

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

If you look closely at the homepage it says "MicroPython tutorial for the pyboard". pyb is a system module of the pyboard, it's not available on a Raspberry Pi.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.