This library uses polymorphism and defines common interfaces for reading encoders and controlling motors allowing for easy open or closed loop motor control.
SCADABLE fleet ops library for ESP32. Drop into your firmware, get managed MQTT + log streaming + telemetry + remote diagnostics + signed OTA for free.