firmware updates
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
#define HALLINTERVAL 100
|
||||
#define HALLTHRESHOLD 5
|
||||
#define HALLIDLETHRESHOLD 20
|
||||
#define HALLIDLETHRESHOLD 10
|
||||
#define HALLIDLESAMPLES 15
|
||||
#define HALLPLAYSAMPLES 24
|
||||
|
||||
@@ -22,8 +22,19 @@ typedef enum
|
||||
hall_increasing,
|
||||
hall_tipover,
|
||||
hall_decreasing,
|
||||
hall_tipunder,
|
||||
HALL_LAST
|
||||
}HALLSENSORSTATES;
|
||||
|
||||
static String HALLSENESORSTATES_ENUM2STR[HALL_LAST]
|
||||
{
|
||||
"Hall Idle",
|
||||
"Hall Increasing",
|
||||
"Hall Tipover",
|
||||
"Hall decreasing",
|
||||
"Hall tipUnder"
|
||||
};
|
||||
|
||||
void initSensor(void);
|
||||
void handleBatterySensor(void);
|
||||
void handleHallSensor(void);
|
||||
|
||||
Reference in New Issue
Block a user