FiveVoltRail.UnderVoltage
Force the behaviour of a 5V under voltage condition.
Syntax: see Call Structure
|
{ "method": "cbrx_connection_set", "params": [ connection-handle, "FiveVoltRail.UnderVoltage", Value ] } |
| Parameter | Description |
|---|---|
| connection-handle | The Connection Handles as an integer |
| Value | The value you wish to set for the key |
| Value | Description |
|---|---|
| true | Set 5V under voltage flag |
Returns:
|
{ "result": true } |
Errors
If there is an error in the API method then a JSON-RPC Error Object will be returned.
Example
Copy
{
"jsonrpc": "2.0",
"id": 0,
"method": "cbrx_connection_set",
"params": [
7654,
"FiveVoltRail.UnderVoltage",
true
]
}