Updated load documentation and added new define for hysteresis
This commit is contained in:
parent
b884517586
commit
b6bc117abf
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue