With Scratch, you can program your own interactive stories, games, and animations. Besides, if you are using Raspberry Pi, you can control GPIO pins on Raspberry Pi. In this tutorial, I will share with you how to program Maker pHAT (equipped with LEDs, buttons and buzzer) using Scratch.
This video shows how to program Maker pHAT using Scratch on Raspberry Pi.
This is the list of items used in the video.
This is Scratch program to control LED and buzzer through push buttons on Maker pHAT.
Thanks for reading this tutorial. If you have any technical inquiries, please post at Cytron Technical Forum.
“Please be reminded, this tutorial is prepared for you to try and learn.
You are encouraged to improve the code for better application.“