Preparation for Programming
Hello, it's great that you can see here, that means you have assembled the Ring:bit smart car, next we need to write the program in the programming software, just like we need to write in the homework book, we should first download and install the programming software, we recommend the programming software: Thonny.
If you have already installed Thonny and selected the correct interpreter, please ignore this step, if not, you can refer to the specific installation steps: Download and install programming software.
Next, we need to prepare the firmware for picoed and burn the firmware inside pico:ed. Firmware is the device "driver" that is stored inside the device, through which the code we write can follow the standard device driver to achieve the running action of a particular machine. Firmware is the software that does the most basic and lowest-level work of a system.
In a hardware device, the firmware is the soul of the hardware device. If you are not familiar with how to burn picoed firmware into pico:ed, you can refer to this article: Firmware Installation Steps.
For the function of pico:ed, such as A/B button, we need to add the picoed library file, if you are not clear about the way to add the picoed library file, you can refer to this article: Add picoed library.
Preparation for Libraries
In the following cases, other related libraries are needed to ensure that you can complete all tasks.
- CircuitPython_Motor. The
CircuitPython_Motorlibrary file contains control methods for motors and servos.
- CircuitPython_NeoPixel. The
CircuitPython_NeoPixellibrary file contains control methods for light rings.
- CircuitPython_Ringbit. The
CircuitPython_Ringbitlibrary file contains control methods for the ring:bit expansion board.
- Next, just follow the steps for adding the picoed library files and place
ringbit.pyin the lib folder of the CIRCUITPY disk, see the reference picture below.
For more operation and functions of ringbit, please refer to: Usage for Ring:bit library