Port.N.led3
Set the status of the third LED
Syntax: see Call Structure
{ "method": "cbrx_connection_set", "params": [ connection-handle, "Port.N.led3", Value ] } |
Parameter | Description |
---|---|
connection-handle | The Connection Handles as an integer |
N | Port number |
Value | The value you wish to set for the key |
Value | Description |
---|---|
Flash pattern | 0-255 with the LEDs flashing according to the bit pattern represented by the value. |
Returns:
{ "result": true } |
Errors
If there is an error in the API method then a JSON-RPC Error Object will be returned.
Example
Copy
{
"id": 0,
"jsonrpc": "2.0",
"method": "cbrx_connection_set",
"params": [
7654,
"Port.1.led3",
170
]
}