ledSubscribe to RSS - led

Creating a flashlight application

After creating a “hello world” app, a beginning programmer usually starts creating more and more complex applications. A flashlight app is usually one of the first projects beginners start. In this article we will demonstrate how to create such an app.

Where to start?

The first thing is to meet the necessary conditions, for the app to work. We will be making an app that has a button which, when clicked, toggles the LED light on or off. Furthermore, once the LED has been turned on, a notification will be displayed.