Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save miyako-ep/1df8b9d213fc591ac8c4cc69d3063ed6 to your computer and use it in GitHub Desktop.
Save miyako-ep/1df8b9d213fc591ac8c4cc69d3063ed6 to your computer and use it in GitHub Desktop.
Tibbo-PiのLチカテスト
[{"id":"92e399cf.4e998","type":"tp-initialize","z":"da6502f5.d66bf8","name":"","make":true,"x":241,"y":77.5,"wires":[]},{"id":"6599e78b.988d4","type":"Tibbit-#38 in","z":"da6502f5.d66bf8","name":"","tpSlot":"S05","outputOnly":true,"communication":"GPIO","pinA":"IN_Edge","pinB":"other","pinC":"other","pinD":"other","connectedStatus":"start","host":"","x":258,"y":248.5,"wires":[["a95f40a.6f6f2c","2cf4499e.310166"]]},{"id":"2cf4499e.310166","type":"Tibbit-#39 out","z":"da6502f5.d66bf8","name":"","tpSlot":"S04","communication":"GPIO","pinA":"OUT","pinB":"other","pinC":"other","pinD":"other","connectedStatus":"start","host":"","x":654,"y":248.5,"wires":[]},{"id":"a95f40a.6f6f2c","type":"debug","z":"da6502f5.d66bf8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":468.5,"y":337,"wires":[]},{"id":"1b64f474.7764bc","type":"inject","z":"da6502f5.d66bf8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":266,"y":183.5,"wires":[["84824c7c.9a8a1"]]},{"id":"84824c7c.9a8a1","type":"function","z":"da6502f5.d66bf8","name":"ON/OFF LED","func":"msg.payload = ~flow.get(\"flag\")||0;\nflow.set(\"flag\", msg.payload);\nreturn msg;","outputs":1,"noerr":0,"x":452,"y":182.5,"wires":[["2cf4499e.310166"]]},{"id":"d5b11be7.b2a1c","type":"inject","z":"da6502f5.d66bf8","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":425,"y":76.5,"wires":[["f335f79a.5f7098"]]},{"id":"f335f79a.5f7098","type":"function","z":"da6502f5.d66bf8","name":"init LED","func":"flow.set(\"flag\", 0);","outputs":1,"noerr":0,"x":586,"y":76,"wires":[[]]}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment