iot-sol
Version:
Intel(r) IoT Services Orchestration Layer - HTML5 IDE + Node.js middleware to create and host distributed IoT Apps in minutes
36 lines (35 loc) • 768 B
JSON
{
"name": "countdown",
"description": "when triggered, countdown the orig value. when reset is true, reset the countdowner accoring to the orig value. when it countdown to zero, hit = true",
"spec":{
"id": "__HOPE__/builtin/counter/countdown",
"name": "countdown_builtin_spec",
"in": {
"ports": [
{
"name": "trigger"
},
{
"name": "reset",
"type": "boolean",
"buffered": true
},
{
"name": "orig",
"type": "int",
"no_trigger": true
}
]
},
"out": {
"ports": [
{
"name": "hit",
"type": "boolean"
}
]
}
},
"ui": {},
"doc" : "builtin/counter.html#countdown"
}