using_a_breakout_button

This is an old revision of the document!


Using a Breakout Button

Jul 2026


Introduction


*** Warning *** You can lock yourself out of your Pi Pico if you don't have a method to break the code. Please think about if you want/need to do this!!!

In the previous example, we used some code to cause a 20 second start delay, so you had 20 seconds before the code ran where you could use Thonny to stop the process before it properly started. However, once 20 seconds had elapsed, this would no longer work. So you needed to reboot the Pico and break in before the 20s start delay.

In this example, again we are going to use the traffic light example, we are going to use a button to breakout of our code. This is very simple to do, first lets look at the wiring diagram for our traffic lights.

using_a_breakout_button.1784143808.txt.gz · Last modified: by walkeradmin