Python Dispatch: Making the GIL Optional

The Steering Council have made a huge announcement regarding the future of Python. Namely, they have decided to make the Global Interpreter Lock (GIL) optional in CPython and eventually remove the GIL altogether. This is a huge decision that will fundamentally alter Python. Therefore, in this post, I’ll go through what the GIL is, its…

Read More

9 Tricks with the Python REPL

Of course, the Pi in Raspberry Pi comes from Python, one of the most popular programming languages in the world and especially popular among tinkerers and makers. In this post, I want to give you 9 tricks and tips with the Python REPL – but don’t worry if you’re not super familiar with Python or…

Read More

CircuitPython, Adafruit Feather RP2040, and I2C

As you probably guessed by the title, this article discusses CircuitPython, the Adafruit Feather RP2040, and the I2C communication protocol. The RP2040 has two I2C controllers – good for example, when you want to run two I2C devices with the same I2C address. In my test setup, I have an Adafruit Feather RP2040 microcontroller board,…

Read More

C extension for MicroPython on Raspberry Pi Pico

raspberry pi pico

This is a guide on how to write and run a basic C extension for MicroPython on the Raspberry Pi Pico. I will cover reasons for extending MicroPython, how to write the extension module, how to compile it and how to install it on the Pico. If you want to read more about this topic,…

Read More

Raspberry Pi Pico and MicroPython on Windows

Raspberry Pi Pico and MicroPython on Windows Title Image

This article answers the question: How do I use the Raspberry Pi Pico with MicroPython on Windows? We also show how to install the right driver for “Board CDC” (which the Pico will show up as once MicroPython is installed) on Windows 8.1. (We will also discuss the differences between MicroPython and CircuitPython where applicable…

Read More