• Home
  • Examples
  • Adafruit IO – Get Color | Remote Controlled RGB Light

Adafruit IO – Get Color | Remote Controlled RGB Light

Example Description
In this example, we will retrieve the color information from the cloud and make the Quarky lights ON and OFF with the selected color on the cloud.

In this example, we will retrieve the color information from the cloud and make the Quarky lights ON and OFF with the selected color on the cloud.

Adafruit IO Settings

  1. Create two new Feeds named Light and Color.
  2. Create a new Dashboard named RGB Light.
  3. Edit the Dashboard and add a Toggle Block.
  4. Connect the Light feed to the block and click on Next Step.
  5. Edit the Block Setting and click on Create Block.
  6. Block is added. You can try to toggle the switch.
  7. Next, create another block. This time select Color Picker.
  8. Connect to Color Feed.
  9. You will find the blocks on the Dashboard. Edit the layout as per your liking.

Script

The following script reads the Light feed value and makes the Quarky light up accordingly.

 

Output

Table of Contents