Getting something to blink is the first step for most hardware projects. We'll start learning WipperSnapper by adding a LED component to your board and blinking it! 

Component Wiring

Most development boards include a built-in LED which you don't need to wire up. 

On the Adafruit FunHouse, this LED is found below the display, and slightly to the right.

For other development boards, refer to the board's wiring diagram for the location of the built-in LED or wire up an externally connected LED.

Add a LED Component

First, navigate to the WipperSnapper device list and select the board you'd like to use.

On the device page, next to the device's name, there should be a green "Online" badge indicating that the device is connected to Adafruit IO.

I see a red, "Offline", badge

First, verify your Wireless Network's connectivity by navigating to https://io.adafruit.com/wippersnapper from your browser. If your wireless network is up and you can access Adafruit IO, please contact Adafruit IO support for further troubleshooting steps.

Click the + New Component button to bring up the component picker. 

From the component picker, click the LED.

Next, we're going to configure the LED component. Set the component's name.

Then, open the LED Pin dropdown and select the pin to which the LED is physically connected.

Once you've configured the LED, click Create Component

A new toggle button "component" should appear on the device page.

Click the button to toggle the LED!

Wait...what just happened?

When you clicked "Create Component" Adafruit IO WipperSnapper sent a message to your board to configure the LED using the settings you configured. It also created a new Adafruit IO Feed for storing the component's history and saving its state. Toggling the button sends a "toggle the LED" message to the device. This is the core of how digital outputs work in Adafruit IO WipperSnapper.

This guide was first published on Sep 27, 2021. It was last updated on 2022-04-13 12:31:26 -0400.

This page (Blink a LED!) was last updated on Jun 29, 2022.

Text editor powered by tinymce.