US
8 MIN READ TIME
PICO GPIO

Using the GPIO with MicroBlocks

Les Pounder scratches an itch and builds code for his Raspberry Pi Pico using drag-and-drop coding blocks.

SCRATCH AND ITCH

OUR EXPERT

Anybody who works in education or has children of their own will know of Scratch. Created 20 years ago (publicly released in 2007), this simple block-based coding language is aimed at school children but it can be used by anyone, across many devices. When the Raspberry Pi was released in 2012, Scratch 1.x played a huge part in promoting the ease at which learners could create animations and games, and even interact with the GPIO for custom controllers. Adding GPIO support for the Pi saw Scratch become a firm favourite among educators. Scratch 2 brought newer features, camera input and audio input for your own Kinect-like games. Scratch 3 went fully online and so requires a Pi 4 to get the best from it. That said, the extra horsepower is worth it as Scratch 3 enhances the existing features and provides extra tools to create audio and vector sprites.

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 .

If you’ve never coded before, block-based languages are the ideal way to get started. Code can be torn apart and rebuilt without copying and pasting huge chunks of text. Multiple functions and threads can be created without issue, and, most importantly, kids can have fun while they learn. Check outhttps://scratch.mit.edu for a plethora of examples and a fantastic getting-started guide.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99c
SUBSCRIBE NOW
30 day trial, then just $9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
May 2023
VIEW IN STORE

Other Articles in this Issue


WELCOME
In with the old!
We’re in no position to talk about getting
REGULARS AT A GLANCE
Ubuntu 23.04: Lunar Lobster latest
Exciting things are happening: a new installer, hardened app security and a revamped desktop environment.
Linux on Apple Mx hardware
The Linux kernel now officially supports M-series Macs. But before you get too excited, full integration is a long way off.
It’s a flat future
Flathub to go independent and accept app payments.
END OF LIFE
Donnie Berkholz is senior vice president product at
RELIABLY SECURE
Keith Edmunds is MD of Tiger Computing, which
Fractional scaling is still coming…
Gnome to support protocol.
Half-Life 1 gets ray tracing
Old game given makeover.
Plasma 6 is in development
Version 6 uses Qt6.
Distro watch
What’s behind the free software sofa?
HANDS UP!
Moshi Turner is a software engineer at Collabora.
Kernel watch
Jon Masters keeps up with all the latest happenings in the Linux kernel, so you don’t have to.
THE ITANIC
Jon Masters is a kernel hacker who’s been
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
MAILSERVER
WRITE TO US Do you have a burning
BACK ISSUES MISSED ONE?
ISSUE 300 April 2023 Product code: LXFDB0300 In
Time Switch
Version : 2023.01.28 Web : https:// github.com/fsobolev/timeswitch
ChatGPT
Version: 0.11.0 Web : https://app.nofwl.com O penAI’s
Tokodon
Version: 23.01.0 Web: https://apps.kde.org/tokodon Another online service
CopyQ
Version : 6.4.0 Web : https://hluk.github.io/CopyQ The
HSTR
Version : 2.6.0 Web : https://github.com/dvorka/hstr Like
Katalog
Version : 1.16 Web: https://sourceforge . net/projects/katalogg
Stellarium
Version: 1.2 Web: https://stellarium.org S tellarium
iQPuzzle
Version: 1.2.9 Web: https://elth0r0 . github.io/iqpuzzle
Veloren
Version: 0.14.0 Web: https://veloren.net V eloren
Eiciel
Version: 0.10.0 Web: https://rofi . roger-ferrer.org/eiciel
Forgetpass
Version: 1.0.12 Web: https://github . com/alexkdeveloper/forgetpass Virtually
REVIEWS
Sabrent Rocket 2230 SSD
Shane Downing test-drives the perfect Steam Deck drive upgrade.
Intel Core i5 13400F
Being skinflint northern types around here, it’s high praise for Jacob Ridley to say this is the best budget processor right now!
Brave Browser 1.48.171
Nate Drake climbs on his soap box and explains why Brave is the last word in private browsing.
Endless OS 5.0.1
Nate Drake has hours of endless fun with the colourful and simple-to-use Endless OS without once needing to go online.
Vanilla OS 22.10 R7
With his first taste of the ultra-secure Vanilla OS, Nate Drake finds that plain doesn’t by any means equal boring.
Tor Browser 12.0.3
Nate Drake nosedives into the dark net with the Tor Browser and is blown away by its new censorship-resistant features.
Rogue Legacy 2
Workers with endless descendants happy to repeat their work over and over? Anne-Marie Coyle has never seen The Management so happy…
ROUNDUP
Lightweight desktops
In search of extra speed and efficient use of resources checks out the best lightweight desktop environments
SAVE YOUR OLD PC!
Give your old hardware some extra longevity and beat the fiscal blues. shows you how Windows fails and Linux Mint prevails
Pi USER
New Raspberry Pi camera launched
The £50 camera eliminates rolling shutter artefacts, the bane of digital photography!
RetroFlag GPi CASE 2W
Going back to the future is Les Pounder’s go-to retro phrase – let’s hope this case isn’t as long in the tooth.
Biqu Hurakan
Forever cleaning surfaces with isopropyl alcohol, Denise Bertacchi wonders whether this is the printer for her?
Building a web-based robot control interface
In part five of his series, Les Pounder shows us how to build a custom web interface for controlling your DIY robot.
TOP OF THE FOSS!
TRACK YOUR FITNESS
Michael Reed looks at an open source Android app that can track your fitness.
TUTORIALS
Fast and easy image processing
Shashank Sharma dreams of achieving a leaner version of himself. Until then, he’ll settle for an ImageMagick derivative that’s skinnier, yet useful.
Host your own music streaming server
Nick Peers discovers how to make your personal music collection available from anywhere with this simple, but effective, music server.
Relive classic FOCAL days on your PDP-11
It’s probably not one of your favourite languages, but Mike Bedford says if you want to learn about programming’s heritage, don’t ignore FOCAL.
Enhance GIMP with must-have plugins
For many years, plugins have extended the basic functions of GIMP. Karsten Günther pick the ones he thinks you shouldn’t be without.
Build your own distro with NixOS
“Why, I do declare!” Matt Holder proclaims as he builds his very own operating system, using just an ISO file and declarative text files…
ChatGPT troubleshoots your Linux problems
Nick Peers investigates the different ways in which ChatGPT might help you maintain and fix problems with your PC.
IN DEPTH
MIND YOUR LANGUAGE!
Interested in learning a new language? Or just curious about current hot technologies? Darien Graham-Smith explores the language leaderboard.
CODING ACADEMY
Become a C++ chess master
Tiring of retro gaming rewrites, Andrew Smith turns his grandmaster mind to more classical games in a 3D style.
Observability of the kernel and containers
Barely able to contain himself, Mihalis Tsoukalos explains how to use eBPF to monitor applications, the Linux kernel and containers
ADVERTISEMENT
Magazines Direct
www.magazinesdirect.com/LIN/B44F
Linux Format
linuxformat.com
Magazines Direct
magazinesdirect.com
tom's HARDWARE
techradar
techradar.com
magazinesdirect.com
www.magazinesdirect.com/linux-format
magazinesdirect.com
magazinesdirect.com
code club
www.codeclub.org.uk
MAGAZINES
www.magazinesdirect.com
TAKE YOUR LINUX KNOWLEDGE FURTHER
www.magazinesdirect.com
ELECTRONIC FRONTIER FOUNDATION
EFF.DRG
GO.COMPARE
Chat
X
Pocketmags Support