I wrote some scripts for PID control of a DC motor given an encoder and H-bridge.
Gained hands on experience with concepts related to motor control and MCUs such as ISRs for pulse counting, switch debounce, H-bridge decay, integrator windup, PWM control, and more.