In this demo, we show controlling an LED from Adafruit IO. But the same kind of control can be used for relays, lights, motors, or solenoids.

One of the first programs you typically write to get used to embedded programming is a sketch that repeatably blinks an LED. IoT projects are wireless, so after completing this section, you'll be able to turn on (or off) the LED built into your board from anywhere in the world.

Where is the LED on my board?

The ESP32-S2 TFT Feather has a red LED located directly above the USB-C port, highlighted in pink.

Create a LED Component on Adafruit IO

On the device page, click the New Component (or "+") button to open the component picker.

From the component picker, select the LED.

On the Create LED Component form, the board's LED pin is pre-selected. 

Click Create Component.

Behind the scenes, Adafruit IO sends send a command to your board running WipperSnapper telling it to configure "LED Pin" as a digital output.

Your board's page on Adafruit IO shows a new LED component.


On the board page, toggle the LED component by clicking the toggle switch. This should turn your board's built-in LED on or off.

This guide was first published on Jan 12, 2022. It was last updated on Jan 12, 2022.

This page (LED Blink) was last updated on Feb 28, 2023.

Text editor powered by tinymce.