Your shopping cart is empty!
Press the Buttons
- Hao Zhen Goh
- 06 Jul 2023
- Tutorial
- Beginner
- 733
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):