[Holiday Notice] Please be informed that our office will be closed on September 16 in observance of a public holiday. Kindly note that all orders placed after 12:00 PM (GMT +8) on September 13 will be processed on September 17. Thank you for your understanding, and we apologize for any inconvenience caused.

Press the Buttons

This guide will show you how to set up the buttons on your Robo Pico through coding.

The figure below shows the GPIO for each of the on-board push buttons.

1. While your Robo Pico is connected to your computer, open your editor software (for example Thonny). Select the code.py file in your drive.


2. Copy and paste the following code to your editor.

 

3. Flash the codes to your Raspberry Pi Pico / Pico W. And your CIRCUITPY drive should look like this (no lib file is used):

Hardware Components

Robo Pico

$14.90 $14.90

x 1 unit(s)