This demo shows controlling an LED from Adafruit IO. 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.
The Adafruit Fruit Jam has an onboard Red LED located in the top middle of the image (highlighted RED), to the left of the USB-C connector.
It is attached to GPIO29.
Take note that it uses an inverted signal, where 0 means On instead of usually meaning Off.
On the device page, click the New Component (or "+") button to open the component picker.
Search for the component name by entering LED into the text box on the component picker, the list of components should update as soon as you stop typing.
Since WipperSnapper supports such a large number of components, there is keyword filtering. Try searching for various keywords, like:
- component names:
aht20,servo,buzzer,button,led, etc - sensor types:
light,temperature,pressure,humidity, etc - interface:
i2c,uart,ds18x20,pin, etc (also I2C addresses e.g.0x44) - vendor:
Adafruit,ASAIR,Infineon,Bosch,Honeywell,Sensirion, etc
There are also product and documentation links to every component. Follow the links beneath the component descriptions to be taken to the appropriate product page or Learn Guide
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.
You'll notice that the LED component shows as having the status Off, but the Red LED is actually On right now!
Toggling the component to On switches the LED to Off. To fix the labels click the settings cog for the LED.
Then update the labels for the Off and On state and click Update Component. You can also change the Icons! There are two types of icons, the first supports a weight setting like regular or light, and the second uses the full color Font-Awesome icons (emoji's, etc).
That's better, now it looks correct, even if in-reality it's still sending a 0 to the feed to turn On the LED.
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.
Page last edited October 06, 2025
Text editor powered by tinymce.