Releases: kaiaai/arduino_pid_timed
Releases · kaiaai/arduino_pid_timed
Src folder
Init() option
- PID() empty no-arguments constructor with Init() to follow
- convenient when instantiating PID like a static variable and configuring later
Float precision option
- float precision option
PID_FLOAT
- cleanup
Namespace cleanup
BREAKING CHANGE:
- moved library-specific constant
#define
into library class constants- library-specific constants declared as global
#define
polluted global namespace and interfered with other libraries
- library-specific constants declared as global
- if this change breaks your code, rename PID constants in your code as follows:
DIRECT
toPID::DIRECT
REVERSE
toPID::REVERSE
P_ON_M
toPID::P_ON_M
P_ON_E
toPID::P_ON_E
Example code tweak
- tweaked example code to demonstrate variable time sampling
Initial release
- adapted to work when time between samples is not constant