Monitor io logic level changes by sampling io.
request: init
path |
type |
conditions |
description |
logic_analyzer.io[] |
pinSetting |
|
|
logic_analyzer.interval |
number |
|
|
logic_analyzer.duration |
integer |
|
|
logic_analyzer.trigger.value |
boolean |
|
start value |
logic_analyzer.trigger.samples |
integer |
|
how that values consists |
With below sample code, you will receive only data which start with 'false, false, false' 3bit.
// Json Example
[
{
"logic_analyzer": {
"io": [ 0],
"interval": 500,
"duration": 500,
"trigger": {
"value": false,
"samples": 3
}
}
}
]
path |
type |
conditions |
description |
logic_analyzer |
null |
|
|
// Json Example
[
{
"logic_analyzer": null
}
]
response: data
path |
type |
conditions |
description |
logic_analyzer.data |
bitArray |
|
|
//Response Example
[
{
"logic_analyzer": {
"data": [0, 1, 1, 0, 0, 1, 1, 0]
}
}
]
type defines
type |
conditions |
examples |
description |
array |
|
[0, 1, 1, 0, 0, 1, 1, 0] [0, 0, 1, 0, 0, 0, 0, 0]
|
Binary data array represented in 0 1. |
type |
conditions |
examples |
description |
integer |
|
|
|