Quantcast
Viewing all articles
Browse latest Browse all 5458

Python • Re: Debouncing digital inputs, best practices ?

Another option is the gpiod package which, unlike the other options, does the debouncing in the kernel, which is more efficient, rather than userspace.

This example enables debounce, and this example watches multiple lines.

A blend of the two examples would give you what you are after.

Statistics: Posted by warthog618 — Wed May 08, 2024 2:35 am



Viewing all articles
Browse latest Browse all 5458

Trending Articles