© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
C. BellBeginning MicroPython with the Raspberry Pi Picohttps://doi.org/10.1007/978-1-4842-8135-2_3

3. How to Program in MicroPython

Charles Bell1  
(1)
Warsaw, VA, USA
 

Now that we have a basic understanding of the Pico and have had a short introduction to MicroPython, we are ready to learn more about programming in MicroPython. Mastering MicroPython is very easy, and some may suggest it doesn’t require any formal training to use. This is largely true and thus you should be able to write MicroPython scripts with only a little bit of knowledge about the language.

Given that MicroPython is a subset of Python, we can learn the basics of the Python language first ...

Get Beginning MicroPython with the Raspberry Pi Pico: Build Electronics and IoT Projects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.