{
  "device": "PoseLab Core (lite)",
  "description": "32-cell FSR pressure seat, ASCII serial output. Beginner-friendly.",

  "connection": {
    "link": "USB cable (board CH343P chip)",
    "baud": 2000000,
    "fps": 50,
    "format": "text lines, newline-terminated",
    "note": "Set Serial Monitor speed to 2000000 or text will be garbled."
  },

  "line": {
    "shape": "v0, v1, v2, ... , v31",
    "count": 32,
    "separator": ", ",
    "terminator": "\n",
    "value": {
      "meaning": "press strength of one sensor cell",
      "min": 0,
      "max": 4095,
      "noiseGate": "values below 20 are output as 0"
    },
    "example": [
      "0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
      "0, 0, 312, 1540, 823, 0, 0, 0, 0, 0, 0, 0, 245, 1877, 2103, 96, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0",
      "0, 0, 0, 61, 402, 1188, 34, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0"
    ]
  },

  "order": {
    "note": "The 32 values follow the physical cell order on the seat.",
    "rows": "3 rows, different cell counts: bottom 10, middle 14, top 8",
    "map": [
      { "index": "0-9",   "row": "bottom", "cells": "left 5 -> right 5" },
      { "index": "10-23", "row": "middle", "cells": "left 7 -> right 7" },
      { "index": "24-31", "row": "top",    "cells": "left 4 -> right 4" }
    ],
    "firstLast": "value[0] = bottom row far-left, value[31] = top row far-right"
  }
}
