pico-pipette

Two Minute Tutorial

Pico Pipette documentation · Pico Pipette on GitHub

In two minutes you’ll run a program on your Pico from your browser, change it, and see how Pipette shows you a mistake.

You need:

1. Connect

  1. Plug your Pico into your computer.
  2. Open https://romilly.github.io/pico-pipette/.
  3. Click Connect, choose your Pico from the list the browser shows, and confirm. The first time, the browser asks whether the site may use serial ports: say yes.

The dot beside the button turns green, and the files on your Pico appear on the left.

The editor already holds a program that blinks the Pico’s LED. Click Run.

The LED on the Pico blinks ten times, and the output appears under Output. (Boards such as the Explorer and Presto have no LED you can see, but you’ll still get the output.)

blink 0
blink 1
...
blink 9
done

3. Make it faster

On line 9, change 0.5 to 0.1, and click Run again. The LED blinks five times as fast.

4. Make a mistake

On line 7, change led.toggle() to leed.toggle(), and click Run.

The program stops at once. Pipette marks line 7 in red and says what went wrong, under the output:

Line 7: NameError: name 'leed' isn't defined

Change it back to led.toggle() and run it again.

What next

The Five Minute Tutorial shows how to stop a program that runs for ever, look inside it while it’s paused, and make it run on its own whenever the Pico has power.