RGB LED (Quarky Intellio)

Quarky Intellio Extension
Extension Description
This extension allows users to control the RGB LED of Quarky Intellio directly from PictoBlox.

Introduction

The RGB (Quarky Intellio) extension allows users to control the RGB LED of Quarky Intellio directly from PictoBlox. It provides blocks and Python functions to adjust the color and brightness of the RGB LED, switch it off, and customize individual color components (Red, Green, Blue).

Using this extension, you can:

  • Set the LED color to any combination of Red, Green, and Blue.
  • Adjust the brightness of the RGB LED (0-100).
  • Turn the RGB LED off when not needed.
  • Retrieve and set individual Red, Green, and Blue values.
  • Modify the LED color using the HEX code for precise control.

This extension is useful for creating interactive lighting effects, visual feedback, and color-based indicators in Quarky Intellio-based projects.

Connecting Quarky Intellio with PictoBlox

Let’s begin by first connecting Quarky Intellio to PictoBlox. Follow the step-by-step instructions in the Quarky Intellio Connection Guide to establish the connection.

Refer to the guide here:Connection Guide Redirection Page

Read More

PictoBlox Blocks

This block sets the color of the RGB LED on Quarky Intellio. You can choose from a variety of colors and adjust the brightness between 0 and 100.
This block switches off the onboard RGB LED of Quarky Intellio
This block sets the Red, Green, and Blue values for the LED. The value for each color component can be adjusted between 0 and 255, which is then converted to a HEX code.
All articles loaded
No more articles to load

Python Functions

This function sets the LED color and brightness. The color is specified using RGB values (Red, Green, Blue), and the brightness is an integer between 0 and 100.
Syntax: setled(color, brightness)
This function turns off the onboard RGB LED.
Syntax: turnoffled( )
This function sets the individual Red, Green, and Blue values. The range for each color is from 0 to 255.
Syntax: setRGB(red, green, blue)
All articles loaded
No more articles to load
Table of Contents