Just add 4 led to pi board and enjoy.
-
-
Save Aliurz68/5ae4d83d64a671d339c5adc8bd59bb90 to your computer and use it in GitHub Desktop.
4 LED Blinking With Delay ( Raspberry Pi)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"id":"84bb434f.d9bb3","type":"tab","label":"Flow 2"},{"id":"ba32b15f.9e06c","type":"rpi-gpio out","z":"84bb434f.d9bb3","name":"","pin":"11","set":"","level":"0","out":"out","x":840,"y":260,"wires":[]},{"id":"232cb27d.0f643e","type":"inject","z":"84bb434f.d9bb3","name":"","topic":"","payload":"1","payloadType":"num","repeat":"1","crontab":"","once":false,"x":70,"y":340,"wires":[["2fe05dd9.4d6ab2"]]},{"id":"2fe05dd9.4d6ab2","type":"switch","z":"84bb434f.d9bb3","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"0","vt":"num"}],"checkall":"true","outputs":2,"x":220,"y":340,"wires":[["c364be0d.277c6"],[]]},{"id":"c364be0d.277c6","type":"trigger","z":"84bb434f.d9bb3","op1":"1","op2":"0","op1type":"str","op2type":"str","duration":"500","extend":false,"units":"ms","reset":"","name":"","x":380,"y":300,"wires":[["81596c6c.1b9d4","e727f60a.fa0cd8","d9d89d0e.11942","84f8f2d8.9c779"]]},{"id":"6bc46ae4.eff1d4","type":"rpi-gpio out","z":"84bb434f.d9bb3","name":"","pin":"15","set":"","level":"0","out":"out","x":840,"y":320,"wires":[]},{"id":"2ce1beae.dca3a2","type":"rpi-gpio out","z":"84bb434f.d9bb3","name":"","pin":"7","set":"","level":"0","out":"out","x":830,"y":440,"wires":[]},{"id":"92b66.4e2ee49a8","type":"rpi-gpio out","z":"84bb434f.d9bb3","name":"","pin":"13","set":"","level":"0","out":"out","x":840,"y":380,"wires":[]},{"id":"81596c6c.1b9d4","type":"delay","z":"84bb434f.d9bb3","name":"","pauseType":"delay","timeout":"250","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":580,"y":240,"wires":[["ba32b15f.9e06c"]]},{"id":"e727f60a.fa0cd8","type":"delay","z":"84bb434f.d9bb3","name":"","pauseType":"delay","timeout":"350","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":600,"y":300,"wires":[["6bc46ae4.eff1d4"]]},{"id":"d9d89d0e.11942","type":"delay","z":"84bb434f.d9bb3","name":"","pauseType":"delay","timeout":"450","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":600,"y":360,"wires":[["92b66.4e2ee49a8"]]},{"id":"84f8f2d8.9c779","type":"delay","z":"84bb434f.d9bb3","name":"","pauseType":"delay","timeout":"550","timeoutUnits":"milliseconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":600,"y":440,"wires":[["2ce1beae.dca3a2"]]}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment