pimoroni / grow-python

Python libs for controlling the Grow HATs
MIT License
55 stars 44 forks source link

Make pumps mutually exclusive #4

Closed Gadgetoid closed 2 years ago

Gadgetoid commented 3 years ago

Forces only one pump to be active at a time, to avoid the sudden inrush current browning out the Pi or causing weirdness when multiple pumps fire and drop the voltage.

Gadgetoid commented 3 years ago

Note, this is all included in #5 which has an additional fix so that it doesn't free-run the pump and cause water chaos. This probably doesn't need merging separately.