Your shopping cart is empty!
Lesson 3 : Push Button As Input
- Hussien Jawhar Sathik
- 13 Feb 2023
- Tutorial
- 479
Theory
In this lesson, we shall learn how to make digital input to the Blynk web dashboard. We will use the onboard available push button.
Component Used
For this we will use the available on-board push button on the Maker Nano RP2040.
Steps
Lets configure the Blynk first.
Next, click on the web dashboard and click edit.
Next find the LED widget and drag to the workspace and click the setting button.
Next go to create datastream and click Virtual Pin
Key in the details as per the image below and click create.
A new window will pop up and click save
Code
Result
When the push button on the Maker Nano RP2040 is pressed the LED widget light’s up and when the push button is released the LED widget turns off.