Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Use hardware momentary switches to control moOde
#5
(09-27-2018, 03:49 PM)remy1961 Wrote: Hi Richard,
Sorry for the delay. Since mine is working properly with the same script, the problem might be with the switch. Or the software can be improved by forcing a delay after a command is received and before receiving another one. That is beyond what i am able to do.
Remy

Thanks Remy,

A change of switch minimised the problem.

There is a lot of information on the web about de-bouncing in software but it is beyond me also.

I guess a neat solution would be to insert a schmitt trigger between the swicth and the GPIO pin but with a good switch it's not really worth the effort.

Regards,
Richard.
Reply


Messages In This Thread
RE: Use hardware momentary switches to control moOde - by rh2018 - 09-28-2018, 05:56 AM

Forum Jump: