Skip to content
HALOWERK

Iotwerk

sensor pwm edge duty jitter

Return cycle periods, high-time duties and peak-to-peak period jitter from supplied PWM edges.

POST https://iot.halowerk.com/v1/sensor-pwm-edge-duty-jitter

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
edgesarrayYes
Show full input schema
{
  "type": "object",
  "properties": {
    "edges": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "time_s": {
            "type": "number",
            "minimum": 0,
            "maximum": 1000000000
          },
          "level": {
            "enum": [
              0,
              1
            ]
          }
        },
        "required": [
          "time_s",
          "level"
        ],
        "additionalProperties": false
      },
      "maxItems": 1000,
      "minItems": 3
    }
  },
  "required": [
    "edges"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "edges": [
    {
      "time_s": 0,
      "level": 1
    },
    {
      "time_s": 0.25,
      "level": 0
    },
    {
      "time_s": 1,
      "level": 1
    },
    {
      "time_s": 1.5,
      "level": 0
    },
    {
      "time_s": 2,
      "level": 1
    }
  ]
}

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 โ†’