Flash the LED Ex1

Jun 2026

Introduction

In our first Micro Python example, we saw how to turn on and off the onboard LED on the Pi Zero. But what is really cool to do is to flash the LED on and off. This means we can use the LED as an indicator of an error, or that something is running etc.