1 #ifndef _PID_AUTOTUNE_H
2 #define _PID_AUTOTUNE_H
7 #include "TemperatureControl.h"
8 #include "StreamOutput.h"
10 #define PID_AUTOTUNER_CYCLES 8
12 class PID_Autotuner
: public Module
16 void begin(TemperatureControl
*, double, StreamOutput
*);
19 void on_module_loaded(void);
20 uint32_t on_tick(uint32_t);
22 void on_gcode_received(void*);
24 TemperatureControl
*t
;
26 double target_temperature
;
40 } cycles
[PID_AUTOTUNER_CYCLES
];
45 #endif /* _PID_AUTOTUNE_H */