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.
Table of Contents
setled()
Function Definition: setled(color, brightness)
- Python Library: RGB LED (Quarky Intellio)
- Library Import: intellio = QuarkyIntellio()
- Mode: Stage Mode, Upload Mode
Parameters
| Name | Type | Description | Expected Values | Default Value |
|---|---|---|---|---|
| color, brightness | int | 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. |
Description
Example
There are no examples documented for this article.
- Scratch Based Default Extensions
- Artificial Intelligence
- Innovative Extensions
- Machine Learning Environment
- Quarky
- Quarky Intellio I2C Communication
- Quarky Advance Sensors Extension
- Quarky Connect
- Display (Quarky)
- Quarky (Main)
- Robot (Quarky)
- Sensors (Quarky)
- Speaker (Quarky)
- Quarky Ultimate Robots
- Quarky Expansion Board
- Mars Rover
- Humanoid (Quarky)
- Quadruped (Quarky)
- IoT House (Quarky)
- Quarky Mecanum
- Quarky Robotic Arm
- Dabble
- Quarky Advance Line Following
