Skip to content
Snippets Groups Projects
Commit 91e797ee authored by Sergi Hernandez's avatar Sergi Hernandez
Browse files

Changed the voltgae threshold to activate the low battery alarm (set to 9V)

parent 4b8899bd
No related branches found
No related tags found
No related merge requests found
......@@ -6,7 +6,7 @@
// controller configuration parameters
#define ADC_MAX_NUM_SAMPLES 16
#define ADC_SAMPLE_PERIOD_MS 40
#define ADC_VOLTAGE_ALARM_TH 559
#define ADC_VOLTAGE_ALARM_TH 450
#define ADC_VOLTAGE_ALARM_WINDOW 20
#define ADC_VOLTAGE_ALARM_NOTE NOTE_LA
#define ADC_VOLTAGE_ALARM_TIME_ON 30
......
......@@ -13,7 +13,7 @@
#endif
#ifndef ADC_VOLTAGE_ALARM_TH
#define ADC_VOLTAGE_ALARM_TH 559
#define ADC_VOLTAGE_ALARM_TH 450
#endif
#ifndef ADC_VOLTAGE_ALARM_WINDOW
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment