Power of CircuitPython
CircuitPython is a MicroPython variant that was created to make coding approaches easier for educators and students. The key difference between MicroPython and CircuitPython is that CircuitPython includes the Atmel SAMD21 (also known as M0), whereas MicroPython only supports the Atmel SAMD21 and ESP8266 ports.
CircuitPython is an emerging technique in the programming world that is revolutionizing the way programs are written. Developing scripts that improve the efficacy of learning and working gets easier with CircuitPython.
Because of its ease of use with microcontrollers, CircuitPython has gained a reputation in the market. You don't need to download anything before you start programming; after you've connected your board to the system, simply open the text editor and start typing. Yes, please!!! That's all there is to it.
RP2040 IC
Before understanding the installation process of CircuitPython let’s dig some more about the microcontroller. The strong IC RP2040, which surprisingly provides a lot of power for a low price, allows the Raspberry Pi Pico to have a small footprint. It has a low-power ARM processor and dual Arm Cortex-M0+ processors, which let the Raspberry Pi Pico run faster.CircuitPython with Raspberry Pi Pico
You can use C/C++, which is wonderful because it allows consumers to get the most out of it. MicroPython and CircuitPython ports are available on the Raspberry Pico.When it comes to our personal experience, CircuitPython is the best and simplest approach to learn about the Raspberry Pi Pico. It provides excellent support for drivers, sensors, and other peripherals that improve the user's experience.
Instead of built-in flash memory, the RP2040 has a large amount of onboard RAM of 264kb. The external SPI chip, which has 2 MB of memory, fills this gap, which is shared between the running program and any file storage utilized by CircuitPython or MicroPython. You can get the entire flash memory if you use C/C++, but only 1MB will be left for the image, codes, and other data if you use Python.
Installation of CircuitPython
You can use this link to download the latest version of CircuitPython. Now when the download is complete then save it and then do the following.How to use CircuitPython on Pico?
Once you are done with the above steps, you can open CIRCUITPY drive where you will find these files.- The "lib" folder is used to store library files required as per your project requirement.
- "boot_out.txt" is used to show the information of the current circuitpython build.
- "code.py" is the main python file that get executed when the system start. To edit this file you can download and install "Thonny ide".
0 Comments