Wish AddListener

Siam

Active Member
Licensed User
Longtime User
hi,

AddListener is a great funktion but i miss the possibility to say by which signal addlistner should trigger
(CHANGE, RISING or FALLING)

I know i can check the Port but today i have found a issue that triggers the addlistner but the port was sometimes so fast back to low that I do not find out which signal has now triggered.

as example i need the Rising trigger the falling i don't need so
i have written a programm which checks the port if the port was high then do someting if the port is low do nothing.
sometimes it works sometimes not this means my signal (which i can't change) is long enough for the addlistner but sometimes to short to to read by the port.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…