clean-up songs

This commit is contained in:
2022-01-05 14:52:45 +01:00
parent d27b693db1
commit b0ed6e52ca
10 changed files with 147 additions and 68 deletions

View File

@@ -7,13 +7,22 @@
#define ADSINTERVAL 100
#define VBATTINTERVALL 15000
#define VBATTMEASPRECHARGE 10
#define VBATTMEASPRECHARGE 500
#define LOWBATTPERIOD 30000
#define HALLINTERVAL 100
#define HALLTHRESHOLD 5
#define HALLIDLETHRESHOLD 20
#define HALLIDLESAMPLES 15
#define HALLPLAYSAMPLES 24
typedef enum
{
hall_idle,
hall_increasing,
hall_tipover,
hall_decreasing,
}HALLSENSORSTATES;
void initSensor(void);
void handleBatterySensor(void);