Skip to content
HALOWERK

Iotwerk

sensor quadrature edge position

Return quadrature position increments and illegal two-bit transitions from supplied A/B states.

POST https://iot.halowerk.com/v1/sensor-quadrature-edge-position

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
statesarrayYes
counts_per_turnintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "states": {
      "type": "array",
      "items": {
        "enum": [
          "00",
          "01",
          "11",
          "10"
        ]
      },
      "maxItems": 1000,
      "minItems": 2
    },
    "counts_per_turn": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    }
  },
  "required": [
    "states",
    "counts_per_turn"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "states": [
    "00",
    "01",
    "11",
    "10",
    "00"
  ],
  "counts_per_turn": 4
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-18 UTC.

More endpoints in this hub

All endpoints in this hub โ†’