I did install python3-gpiod.

I want to use it to count pulses on one of the input lines with falling edges.

So I am looking for an example Python program to do that.

I did find such a program but it contains:

import gpiod
from gpiod.line import Edge

but it gives:
ModuleNotFoundError: No module named 'gpiod.line'; 'gpiod' is not a package

-- 
fr.gr.

member openSUSE
Freek de Kruijf

Reply via email to