Linux Format

Using the GPIO with Go

hink Pi coding, think GPIO, think Python, right? Python isn’t the only way to access the GPIO. In this tutorial we’ll use Go, a flexible and easyto-use alternative to Python. We’ll learn how projects are built, how to import modules of code and write projects that interact with the Raspberry Pi’s GPIO. Before we install Go, it’s best practice to ensure that our system is up-to-date. Open a terminal and run the following commands to update the list of repositories and then install the latest software. Note:

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

More from Linux Format

Linux Format1 min read
Vector Vexations
Why does MySQL not support vectors in its community edition? Generative AI is the hot topic in tech. GenAI relies on vector data. Yet Oracle has no plans to support vectors in the community edition of MySQL. If you want to try out vector data with ot
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
Wine For Wayland
2023 was a great year for the Wayland driver for Wine. The goal was to move forward from the experimental phase and make the driver a proper upstream component. A year later, after several merge requests, many people are now already able to use the l

Related Books & Audiobooks