Updated load documentation and added new define for hysteresis

This commit is contained in:
jakeg00dwin 2024-09-23 11:53:04 -07:00
parent b884517586
commit b6bc117abf
1 changed files with 12 additions and 3 deletions

View File

@ -15,16 +15,25 @@
/**
* @brief Low Threshold
*
* Anything below this value will cause the pin to lock into the disabled
* state.
*/
#define LOWTHRESH 900
#define LOWTHRESH 0
/**
* @brief High Threshold
*
* Anything above this will cause the pin to lock into the disabled
* state.
*/
#define HIGHTHRESH 1000
/**
* @brief Hysteresis value
* Anything below this value will keep or turn on the associated
* pin.
*/
#define HYSTERESIS 900
/**
* @brief Checks if the adc pin is inbetween LOWTHRESH and HIGHTHRESH and then
* sets or disables the output pin on PORTA.