NodeRED Lesson: Push Button

Push Button adalah komponen sebagai input untuk memberikan arahan apabila push button di tekan. Interface Push Button dengan Python boleh rujuk Raspberry Pi Lesson: Push Button.

Berikut adalah video demo nya.

Node-RED Flow

[{"id":"1491dec6.f2a991","type":"debug","z":"db7e83cf.f4abc","name":"","active":true,"tosidebar":true,"console":false, "tostatus":false,"complete":"payload","targetType":"msg","x":410,"y":140,"wires":[]},{"id":"2843a8b0.19b0c8","type":"rpi-gpio in","z":"db7e83cf.f4abc","name":"","pin":"38","intype":"up","debounce":"25","read":false,"x":240,"y":140,"wires":[["1491dec6.f2a991"]]}]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.