Pioreactor / pioreactor

Hardware and software for accessible, extensible, and scalable bioreactors. Built on Raspberry Pi.
https://pioreactor.com
MIT License
101 stars 9 forks source link

Abstract out pin library #444

Open CamDavidsonPilon opened 1 year ago

CamDavidsonPilon commented 1 year ago

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.