tried to use the Monitor function of a GPIO to trigger a command, but this doesn´t work because GPIO is used for PWM control and out of the docu the Monitor function can only detect binary 0/1 change.
Can you recommand how to trigger based on PWM change (all changes, not dedicated range or value)?
Thx!
Code: Select all
on System#Boot do
Monitor GPIO,12
gpio,12,0
endon
on GPIO#12 do
Publish %sysname%/GPIO/GPIO12,[Plugin#GPIO#Pinstate#12]
endon