Command: |
RGB i
|
---|---|
Command Syntax: |
READ RGB i |
Range: |
|
Describe: |
Same as the COLOR object referenced above, and has sub-objects named RED, GREEN, and BLUE. This command returns the current PWM level that the specified object is using. READ RGB i – returns a 3 element list, consisting of the { red, green, blue } color level. |
Result: |
Get state of RGB LED, {r,g,b} list values |
Type or |
Control |
Command: |
RED i
|
---|---|
Command Syntax: |
READ RED i |
Range: |
|
Describe: |
Same as the COLOR object referenced above, and has sub-objects named RED, GREEN, and BLUE. This command returns the current PWM level that the specified object is using. READ RGB i – returns a 3 element list, consisting of the { red, green, blue } color level. READ RED i – returns just the current red-component level. |
Result: |
Get state of RGB RED component. |
Type or |
Control |
Command: |
GREEN i
|
---|---|
Command Syntax: |
READ GREEN i |
Range: |
|
Describe: |
Same as the COLOR object referenced above, and has sub-objects named RED, GREEN, and BLUE. This command returns the current PWM level that the specified object is using. READ RGB i – returns a 3 element list, consisting of the { red, green, blue } color level. READ GREEN i – returns just the current green-component level. |
Result: |
Get state of RGB GREEN component. |
Type or |
Control |
Command: |
BLUE i
|
---|---|
Command Syntax: |
READ BLUE i |
Range: |
|
Describe: |
Same as the COLOR object referenced above, and has sub-objects named RED, GREEN, and BLUE. This command returns the current PWM level that the specified object is using. READ RGB i – returns a 3 element list, consisting of the { red, green, blue } color level. READ BLUE i – returns just the current blue-component level |
Result: |
Get state of RGB BLUE component. |
Type or |
Control |