Installing the prerequisites
Before we get started, we need to install the Thonny IDE, along with installing MicroPython on the Raspberry Pi Pico.
MicroPython Installation
We recommend installing MicroPython on your Pico. If you are not familiar with the installation process, you can follow the installation process in Chapter 1, Getting Started with the Raspberry Pi Pico.
The required library for the Kitronik Robotics kit is available for download as a ZIP file from its repository at https://bit.ly/3K35aoM.
Once the contents of the files are extracted, we can install the library via the Thonny IDE as follows:
- In the Thonny IDE, go to the folder containing the extracted library files, as shown in the following screenshot, where you can navigate to the location of the files:
- Now, right-click on
PicoAutonomousRobotics.py
, and upload it to the Pico, as shown in the...