Digital Inputs
This page explains one DigitalInputState item inside peripherals.digitalInputs.
DigitalInputState Schema
| Field | Type | Required | Description |
|---|---|---|---|
index | integer | Yes | Digital input index, starting from 1 |
active | boolean | Yes | Whether the digital input is active |
Example
json
[
{
"index": 1,
"active": false
},
{
"index": 2,
"active": true
}
]