I have question about the behavior of GPIO node in node-red.
For now I have simply setup with the PWM light method. I use the following nodes:
and the code:
[{"id":"827e38722d9198a7","type":"tab","label":"Flow 1","disabled":false,"info":"","env":[]},{"id":"bd03935616a83d02","type":"inject","z":"827e38722d9198a7","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"100","payloadType":"num","x":450,"y":420,"wires":[["1cb445f0fe5177d9"]]},{"id":"262adbc2ec8db810","type":"inject","z":"827e38722d9198a7","name":"","props":[{"p":"payload"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"0","payloadType":"num","x":450,"y":520,"wires":[["e0b3c67d197be6a9"]]},{"id":"1cb445f0fe5177d9","type":"easing","z":"827e38722d9198a7","name":"","easingType":"bounceIn","outputType":"overTime","duration":"2000","interval":50,"numberOfValues":10,"x":650,"y":400,"wires":[["0c7a2c86d9e65d59"]]},{"id":"0c7a2c86d9e65d59","type":"rpi-gpio out","z":"827e38722d9198a7","name":"RED Light PWM - GPIO 12","pin":"12","set":"","level":"0","freq":"","out":"pwm","bcm":true,"x":920,"y":440,"wires":[]},{"id":"e0b3c67d197be6a9","type":"easing","z":"827e38722d9198a7","name":"","easingType":"bounceIn","outputType":"overTime","duration":"2000","interval":50,"numberOfValues":10,"x":650,"y":480,"wires":[["0c7a2c86d9e65d59"]]}]
If I push the Deploy button the PWM GPIO node get "OK" status and the PWM with "easing" node is working - the smooth light up but when I hit the inject button with zero/0 the PWM doesn't work. The same situation when I want to switch on the red light with PWM method again. It starts with 100 number so there is no smooth effect.
How to inject the "OK" status back to PWM GPIO node? or maybe is something wrong with the "easing" node?