Posts

Showing posts from September, 2016

Android App Control RGB LED w/ color Sliders

Image
If you haven't seen my previous Arduino + Bluetooth + RGB LED tutorials, please check them out from here, before you start this one. -  Tutorial 1  Make the Arduino + Bluetooth + RGB LED -  Tutorial 2  Make this App (older version) -  Tutorial 3  Make a nigh lamp In this tutorial, I will add RGB slider bar under the bottom of the App using App Inventor 2  (AI2) from MIT to allow users to adjust the particular LED brightness. This feature was requested by quite few of visitors. Hope you will enjoy this one! For whatever reasons you do not want to do this yourself, please download this App from Google Play Store directly. It's FREE! Screenshot of RGB LED Controller: Here is screenshot of the component layout in App Inventor 2 for your reference. First, let's initialize few variables in AI2. Screen1.Initialize block is to reset App components status and set ColorPicked at x1, y1. The ColorPicked variable is used to store x1, y1 coordinates which are e