Skip to content

Commit

Permalink
Updated LOW_VOLTAGE_CUTOFF to 6.1V
Browse files Browse the repository at this point in the history
Also, added comments as to why LOW_VOLTAGE_CUTOFF should be 6.1V or greater
  • Loading branch information
richard-hatchbed authored Nov 3, 2022
1 parent 76ec7b6 commit 92a3d38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/RoboMagellan6x6/RoboMagellan6x6.ino
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ uint16_t ping[5][2] = {20000,20000,20000,20000,20000};
uint8_t pIter; //iterators for scheduler and ping

//== Power ==
#define LOW_VOLTAGE_CUTOFF 6.0 //volts
//LOW_VOLTAGE_CUTOFF should be 6.1 or greater as some power
//modules may not correctly report values below 6.1V
#define LOW_VOLTAGE_CUTOFF 6.1 //volts; should always be >= 6.1 to assure
#define LOW_VOLTAGE_TIME 5 //seconds
#define RESET_VOLTAGE_THRESHOLD 7.2 //volts
#define RESET_VOLTAGE_TIME 1 //seconds
Expand Down

0 comments on commit 92a3d38

Please sign in to comment.