esp32 firmware for a toaster reflow oven WIP!!!!!

firehazard.h 533B

1234567891011121314151617181920212223242526
  1. /**
  2. * TODO file description
  3. *
  4. * Created on 2020/01/08.
  5. */
  6. #ifndef REFLOWER_FIREHAZARD_H
  7. #define REFLOWER_FIREHAZARD_H
  8. #include <stdbool.h>
  9. #define MAX_SETPOINT 350
  10. #define MAX_TSENSE 400
  11. #define MIN_TSENSE 0
  12. void fire_regulate(float cels);
  13. void fire_init();
  14. void fire_setlevel(float cels);
  15. void fire_enable(bool enable);
  16. float fire_get_setpoint(bool off_is_zero);
  17. void fire_get_tuning(float *kp, float *ki, float *kd);
  18. bool fire_enabled();
  19. void fire_set_tuning(float kp, float ki, float kd);
  20. #endif //REFLOWER_FIREHAZARD_H