Linux Format

Pico GPIO control with JavaScript

OUR EXPERT

Les Pounder is associate editor at Tom’s Hardware and a freelance maker for hire. He blogs about his adventures and projects at http://bigl.es.

Think Raspberry Pi Pico, think Python, right? That is generally the case. Be it MicroPython or CircuitPython, most makers go for this easy-to-understand language. There are alternatives – C and Arduino are incredibly useful given the Pico’s low power. But did you know that JavaScript is also a viable language? In this tutorial, we introduce Kaluma (https:// kalumajs.org), a JavaScript framework for the Pi Pico. Via three quick projects, we’ll demonstrate what can be done with this rather lovely language.

The install process for Kaluma is simple, but it requires a few steps before weon our system. We are using a fresh install of Ubuntu 22.04. Open a terminal and first update the APT repositories: $ sudo apt update

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

More from Linux Format

Linux Format5 min read
Tips For Managing Docker Containers
Everyone knows how containers revolutionised application building and deployment. Using a E disposable stack of containers that make up an app that aren’t using the docker-compose command to manage the stack are missing a trick. It allows the shippin
Linux Format1 min read
Installation Complications
The Linux Mint system package for Timewarrior was out of date, so we installed the latest version from Snap. The Hamster package in the distribution repository was the latest stable release (which is quite old), but we could also have installed via F
Linux Format3 min read
Drauger OS 7.6
We love the idea of a gaming-specific version of Linux, but Drauger fails to deliver. Given the setup/kernel issues, you’re far better off installing Ubuntu, then adding gamingspecific packages yourself. CPU: 1.8GHz (2GHz suggested) Mem: 1GB (6GB sug

Related Books & Audiobooks