Added battery type setting and detailed battery info in ABOUT menu (support for NiMH and LiPo batteries). Added lip sensor activated harmonic series, with settings for range and series type. Added NuRAD overview drawing. Changes to CC lables (from 1 & 2 to A & B).

This commit is contained in:
Johan Berglund 2020-04-27 11:19:08 +02:00
parent 85028a3627
commit 9a2e6b002f
18 changed files with 228 additions and 23 deletions

View file

@ -60,9 +60,11 @@
#define LEVEL_VAL_ADDR 106
#define FINGER_ADDR 108
#define LPINKY3_ADDR 110
#define BATTYPE_ADDR 112
#define HARMSET_ADDR 114
#define HARMSEL_ADDR 116
#define EEPROM_SIZE 112
#define EEPROM_SIZE 118
//DAC output modes
@ -79,7 +81,7 @@
//"factory" values for settings
#define EEPROM_VERSION 34
#define EEPROM_VERSION 35
#define BREATH_THR_FACTORY 1400
#define BREATH_MAX_FACTORY 4000
#define PORTAM_THR_FACTORY 2600
@ -130,6 +132,9 @@
#define LEVEL_VAL_FACTORY 127
#define FINGER_FACTORY 0
#define LPINKY3_FACTORY 0
#define BATTYPE_FACTORY 0
#define HARMSET_FACTORY 0
#define HARMSEL_FACTORY 0
#define NO_CHECKSUM 0x7F007F00