You can configure a board running WipperSnapper to read data from standard input buttons, switches, or digital sensors, and send the value to Adafruit IO.
From Adafruit IO, you will configure one of the pushbuttons on your board as a push button component. Then, when the button is pressed (or released), a value will be published to Adafruit IO.



- Feather GND to Push Button
- Feather GPIO D14 to Push Button
Note - we are not using a resistor part! We will be configuring the Feather ESP32 to use its internal resistor instead.
Create a Push-button 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 Push Button.
The "Create Push Button Component" form presents you with options for configuring the push button.
Start by selecting the board's pin connected to the push button.
The Return Interval dictates how frequently the value of the push-button will be sent from the board to Adafruit IO.
For this example, you will configure the push button value to be only sent when the value changes (i.e.: when it's either pressed or depressed).
Check the Specify Pin Pull Direction checkbox.
Select Pull Up to turn on the internal pull-up resistor.
Make sure the form settings look like the following screenshot. Then, click Create Component.
Adafruit IO sends a command to your WipperSnapper board, telling it to configure the GPIO pin you selected to behave as a digital input pin and to enable it to pull up the internal resistor.
Your board page should also show the new push-button component.
Push the button on your board to change the value of the push-button component on Adafruit IO.