Updated the config.h with more code comments.
This commit is contained in:
parent
7484b88d55
commit
cd7a1529e7
25
inc/config.h
25
inc/config.h
|
@ -56,12 +56,29 @@ const uint16_t GatePulses[5] = {250, 500, 750, 1000, 1250};
|
||||||
const double Tau = 8250;
|
const double Tau = 8250;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Hysteresis value
|
* @brief The upper Hystersis value.(Override)
|
||||||
* Anything below this value will keep or turn on the associated
|
* This is the upper bound of the digital/boolean hysteresis curve. It
|
||||||
* pin in thermostat mode.
|
* takes presidence over the value in `/src/load.h`
|
||||||
|
*
|
||||||
|
* If the input is below low it always sets the output high.
|
||||||
|
* If the input is between high and low with the output high it stays high.
|
||||||
|
* If the input is above high and the ouput is high it's set low.
|
||||||
*/
|
*/
|
||||||
#define HYSTERESIS 900
|
#define HYSTERESIS_HI 900
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief The lower Hystersis value.(Override)
|
||||||
|
* This is the upper bound of the digital/boolean hysteresis curve. It
|
||||||
|
* takes presidence over the value in `/src/load.h`
|
||||||
|
*
|
||||||
|
* If the input is below low it always sets the output high.
|
||||||
|
* If the input is between high and low with the output high it stays high.
|
||||||
|
* If the input is above high and the ouput is high it's set low.
|
||||||
|
*/
|
||||||
|
#define HYSTERESIS_LO 700
|
||||||
|
|
||||||
|
|
||||||
#endif //CONFIG_H
|
#endif //CONFIG_H
|
||||||
|
|
Loading…
Reference in New Issue