esp32 firmware for a toaster reflow oven WIP!!!!!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
reflower/main/firehazard.h

26 lines
533 B

5 years ago
/**
* TODO file description
*
* Created on 2020/01/08.
*/
#ifndef REFLOWER_FIREHAZARD_H
#define REFLOWER_FIREHAZARD_H
#include <stdbool.h>
#define MAX_SETPOINT 350
#define MAX_TSENSE 400
#define MIN_TSENSE 0
void fire_regulate(float cels);
void fire_init();
void fire_setlevel(float cels);
void fire_enable(bool enable);
float fire_get_setpoint(bool off_is_zero);
void fire_get_tuning(float *kp, float *ki, float *kd);
bool fire_enabled();
void fire_set_tuning(float kp, float ki, float kd);
#endif //REFLOWER_FIREHAZARD_H