Linux Format

Building code for microcontrollers

This month we take a look at CircuitPython, a programming language designed to simplify experimenting with low-cost boards. On a fresh install of Raspberry Pi OS we need to open a terminal and run a few commands to ensure our system is up to date and ready to install CircuitPython:

Then we install/upgrade setuptools, a Python toolkit to manage Python package installations:

Next we make sure we’re in our home directory (/home/pi), then we use the Python packaging tool, pip3 to install Adafruit’s Python Shell tool:

The final two installation steps are to download an installation

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format9 min read
The Epochalypse
On 2nd November 2000, a man calling himself John Titor began posting on Art Bell’s BSS forums, claiming to be from the O future year of 2036. Titor painted a grim version of the 21st century, a cross between Pat Frank’s 1959 post-apocalyptic epic Ala
Linux Format1 min read
Ultimate Desktop Upgrade!
LXF316 will be on sale Tuesday 28th May 2024 Word processors that can help craft that novel you’ve always been talking about and organise large projects. Revive the old roleplaying system for a digital age as we recreate our own play-by-mail gaming
Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o

Related