diff --git a/ino/contact_printer/PIDMotorController.h b/ino/contact_printer/PIDMotorController.h index c76e14b..9d97ff6 100644 --- a/ino/contact_printer/PIDMotorController.h +++ b/ino/contact_printer/PIDMotorController.h @@ -81,4 +81,13 @@ private: bool m_firstUpdate; }; -#endif \ No newline at end of file +#endif + +/* +PIDMotorController pidController; +pidController.setTargetRPM(1500.0); + +// loop() +double currentRPM = readEncoderRPM(); // Your encoder reading function +uint16_t pwmValue = pidController.update(currentRPM); +*/ \ No newline at end of file