I like how the pwm.py has abstracted out some of the details for which GPIO pin library we use (currently lgpio). We should do this for the other places with use lgpio: stirring's RPM calculator, and monitor's LED + Button.
With it abstracted, it'll be easier to change pin libraries, and better support other OSs / boards.
I like how the pwm.py has abstracted out some of the details for which GPIO pin library we use (currently lgpio). We should do this for the other places with use lgpio: stirring's RPM calculator, and monitor's LED + Button.
With it abstracted, it'll be easier to change pin libraries, and better support other OSs / boards.