您最多能選擇 25 個主題
主題必須以字母或數字為開頭,可包含連接號「-」且最長為 35 個字元。
25 行
533 B
25 行
533 B
/**
|
|
* 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
|
|
|