Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Internet of Things with Blynk

You're reading from   Hands-On Internet of Things with Blynk Build on the power of Blynk to configure smart devices and build exciting IoT projects

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788995061
Length 271 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Pradeeka Seneviratne Pradeeka Seneviratne
Author Profile Icon Pradeeka Seneviratne
Pradeeka Seneviratne
Arrow right icon
View More author details
Toc

LED

The LED widget simulates an LED and it can be used as an indicator to present the status or amount of an input. As an example, you can use it to present the status of a switch or output value of a potentiometer attached to the Raspberry Pi.

You can add an LED widget onto your Blynk app with the Widget Box by tapping LED under DISPLAYS. The LED widget costs 100 units of energy (see the following screenshot):

LED widget listed under DISPLAYS

Using virtual pins

The LED widget supports only virtual pins. Using a momentary push button with Raspberry Pi is a great way to learn how virtual pins work with inputs. In this example, you will see how the LED widget can be turned on and off according to the status of the momentary...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image