velxio/test/test_custom_chips/sdk/examples/pulse-counter.chip.json

12 lines
354 B
JSON

{
"schema": "velxio-chip/v1",
"name": "Pulse Counter",
"author": "Velxio",
"license": "MIT",
"description": "Counts rising edges on PULSE; toggles OVF every `threshold` pulses. RST clears.",
"pins": ["PULSE", "OVF", "RST", "GND", "VCC"],
"attributes": [
{ "name": "threshold", "type": "int", "default": 4, "min": 1, "max": 1024 }
]
}