Skip to content

References: 3. MicroPython Fundamentals I: Syntax, Data & Loops

  1. MicroPython - Wikipedia - Overview of MicroPython's history, design goals, and how it reimplements Python 3 to run directly on microcontrollers like the RP2040. Explains the tradeoffs behind this chapter's central tool.

  2. Python (programming language) - Wikipedia - Comprehensive overview of the Python language, including its readable syntax, significant indentation, dynamic typing, and built-in data structures. Covers the parent language MicroPython is built from.

  3. Control flow - Wikipedia - Explains how programs execute statements in order, branch, and repeat, including the general concepts behind for loops and while loops. Provides the theory underlying this chapter's two loop constructs.

  4. Python Crash Course (3rd Edition) - Eric Matthes - No Starch Press - A beginner-friendly, project-based introduction to Python covering variables, data types, loops, and lists, tuples, and dictionaries with exercises well matched to a first-time high school programmer.

  5. Programming with MicroPython: Embedded Programming with Microcontrollers and Python - Nicholas H. Tollervey - O'Reilly Media - Written by a MicroPython core contributor, this book covers the REPL, the Thonny-style workflow, and core language syntax before moving into hardware-specific programming.

  6. MicroPython Documentation - micropython.org - The official reference for the MicroPython language and its standard library, including how it differs from desktop Python and quick-reference guides for boards like the Raspberry Pi Pico.

  7. Thonny: Python IDE for Beginners - Thonny.org - The official homepage for the Thonny IDE used throughout this book, describing its beginner-friendly editor, built-in Shell for REPL use, and variable-visualization and debugging features.

  8. More Control Flow Tools - Python Software Foundation - The official Python tutorial chapter on for statements, the range() function, and other control-flow tools, directly explaining the loop syntax this chapter introduces in a MicroPython context.

  9. Modules - Python Software Foundation - The official Python tutorial chapter explaining how modules bundle reusable code and how import statements load them, the same mechanism MicroPython uses for modules like time and machine.

  10. Python Data Types - GeeksforGeeks - A tutorial covering integers, booleans, lists, tuples, and dictionaries with runnable code examples, directly matching every data type and collection this chapter introduces.