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.
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