NodeRED Lesson: LED

August 17th, 2019  Posted at   Lesson NodeRED
arrow   |   No Commentsarrow

LED adalah komponen sebagai output untuk mengeluarkan cahaya apabila dibekalkan voltan. Interface LED dengan Python boleh rujuk Raspberry Pi Lesson: LED.

Berikut adalah video demo nya.

Node-RED Flow

[{"id":"4d6065ae.864f8c","type":"inject","z":"4d0c9bad.ef8014","name":"","topic":"","payload":"","payloadType":"date", "repeat":"1","crontab":"","once":false,"onceDelay":0.1,"x":230,"y":220,"wires":[["4e588d52.2991f4"]]},{"id":"ab836ee6.b8134","type":"rpi-gpio out","z":"4d0c9bad.ef8014","name":"","pin":"40","set":"","level":"0","freq":"","out":"out","x":600,"y":220,"wires":[]},{"id":"4e588d52.2991f4","type":"trigger","z":"4d0c9bad.ef8014","op1":"1","op2":"0","op1type":"str","op2type":"str", "duration":"500","extend":false,"units":"ms","reset":"","bytopic":"all","name":"","x":420,"y":220,"wires":[["ab836ee6.b8134"]]}]

Leave a Reply

What is 14 + 10 ?
Please leave these two fields as-is:
IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)