oxidecomputer / hubris

A lightweight, memory-protected, message-passing kernel for deeply embedded systems.
Mozilla Public License 2.0
3.02k stars 175 forks source link

Add min and max output bounds to `PidConfig` #1883

Closed mkeeter closed 1 month ago

mkeeter commented 1 month ago

The EMC2305 on Grapefruit doesn't turn on the fans at 0 PWM, and we want some airflow to get better readings from the temperature sensor. Might as well make the lower and upper bounds fully parameterized by the PID config!