Now that you've wired everything up and added your board to WipperSnapper, it's time to set up the button itself.
From the device page, click + New Component.
Make sure that your device says that it is online next to the name of the board. If it isn't but it was previously connected, try moving it closer to your router.
Name it whatever you want. I chose to call it button, but anything else should work as well.
Set Push Button Pin to D14.
Finally, make sure that Return Interval is set to On Change.
If you are using an internal pull-up, check the box labeled Specify Pin Pull Direction? and select the box labeled Pull Up. If you are using a physical pull-down resistor, you don't need to do this.
Project usage
Now, as you push the button, you should see the text in the grey sensor box go from "Unpressed" to "Pressed."
Page last edited March 08, 2024
Text editor powered by tinymce.