Presto – Errors When Running Example Scripts

Hi All,

Some of the example scripts for Presto fail to run due to module import errors.
For instance:
• In “buzzer.py”, the line

from presto import Presto, Buzzer

results in:
ImportError: can’t import name ‘Buzzer’

• In “touch_buttons.py” , the line

from touch import Button

results in:
ImportError: can’t import name ‘Button’

Do I need to reflash the latest uf2 file to resolve this issue?
Where can I download the latest (or previous) uf2 files for Presto?
Or is it necessary to build the firmware manually?

Any advice would be greatly appreciated. Thanks in advance!

You need the latest uf2. I had that problem. It’s a good idea to keep these up to date when using a new board.

You can find v7 here:
Releases · pimoroni/presto

When working I found the buzzer to be very quiet.

1 Like

Thank you very much for your help. I really appreciate it.