mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
152 lines
5.2 KiB
JSON
152 lines
5.2 KiB
JSON
{
|
|
"actions": [
|
|
],
|
|
"decoder": 0,
|
|
"frameDetection": 1,
|
|
"frameEnd": ";",
|
|
"frameParser": "/**\n * Splits a data frame into an array of elements using a comma separator.\n *\n * Use this function to break a string (like \"value1,value2,value3\") into\n * individual pieces, which can then be displayed or processed in your project.\n *\n * @param[in] frame A string containing the data frame.\n * Example: \"value1,value2,value3\"\n * @return An array of strings with the split elements.\n * Example: [\"value1\", \"value2\", \"value3\"]\n *\n * @note You can declare global variables outside this function if needed\n * for storing settings or keeping state between calls.\n */\nfunction parse(frame) {\n return frame.split(',');\n}\n",
|
|
"frameStart": "$",
|
|
"groups": [
|
|
{
|
|
"datasets": [
|
|
{
|
|
"alarm": 0,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": true,
|
|
"index": 1,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 0,
|
|
"min": 0,
|
|
"title": "Accelerometer X",
|
|
"units": "m/s²",
|
|
"value": "--.--",
|
|
"widget": "x"
|
|
},
|
|
{
|
|
"alarm": 0,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": true,
|
|
"index": 2,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 0,
|
|
"min": 0,
|
|
"title": "Accelerometer Y",
|
|
"units": "m/s²",
|
|
"value": "--.--",
|
|
"widget": "y"
|
|
},
|
|
{
|
|
"alarm": 0,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": true,
|
|
"index": 3,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 0,
|
|
"min": 0,
|
|
"title": "Accelerometer Z",
|
|
"units": "m/s²",
|
|
"value": "--.--",
|
|
"widget": "z"
|
|
}
|
|
],
|
|
"title": "Accelerometer",
|
|
"widget": "accelerometer"
|
|
},
|
|
{
|
|
"datasets": [
|
|
{
|
|
"alarm": 0,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": true,
|
|
"index": 4,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 0,
|
|
"min": 0,
|
|
"title": "Gyro X",
|
|
"units": "deg/s",
|
|
"value": "--.--",
|
|
"widget": "x"
|
|
},
|
|
{
|
|
"alarm": 0,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": true,
|
|
"index": 5,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 0,
|
|
"min": 0,
|
|
"title": "Gyro Y",
|
|
"units": "deg/s",
|
|
"value": "--.--",
|
|
"widget": "y"
|
|
},
|
|
{
|
|
"alarm": 0,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": true,
|
|
"index": 6,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 0,
|
|
"min": 0,
|
|
"title": "Gyro Z",
|
|
"units": "deg/s",
|
|
"value": "--.--",
|
|
"widget": "z"
|
|
}
|
|
],
|
|
"title": "Gyroscope",
|
|
"widget": "gyro"
|
|
},
|
|
{
|
|
"datasets": [
|
|
{
|
|
"alarm": 40,
|
|
"fft": false,
|
|
"fftSamples": 1024,
|
|
"fftSamplingRate": 100,
|
|
"graph": false,
|
|
"index": 7,
|
|
"led": false,
|
|
"ledHigh": 1,
|
|
"log": false,
|
|
"max": 100,
|
|
"min": 0,
|
|
"title": "Temperature",
|
|
"units": "℃",
|
|
"value": "--.--",
|
|
"widget": "bar"
|
|
}
|
|
],
|
|
"title": "Temperature",
|
|
"widget": ""
|
|
}
|
|
],
|
|
"mapTilerApiKey": "",
|
|
"thunderforestApiKey": "",
|
|
"title": "MPU6050"
|
|
}
|