Mercurial > public > hwos_code
diff src/ostc3.inc @ 92:7ca1105751c7
add sensor calibration option (PC only), some cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 16 Apr 2014 22:31:09 +0200 |
parents | c34516c99ca8 |
children | f2201aa374db |
line wrap: on
line diff
--- a/src/ostc3.inc Tue Apr 15 15:08:16 2014 +0200 +++ b/src/ostc3.inc Wed Apr 16 22:31:09 2014 +0200 @@ -150,11 +150,11 @@ #DEFINE color_code_battery_low .10 ; [%] #DEFINE battery_show_level .24 ; [%] -; 3,6V battery sensing data points at 55mA load -#DEFINE lithium_36v_75 .3100 ; [mV] -#DEFINE lithium_36v_50 .3000 ; [mV] -#DEFINE lithium_36v_25 .2900 ; [mV] -#DEFINE lithium_36v_10 .2600 ; [mV] +; 3,6V battery sensing data points at 70mA load +#DEFINE lithium_36v_75 .3000 ; [mV] +#DEFINE lithium_36v_50 .2900 ; [mV] +#DEFINE lithium_36v_25 .2600 ; [mV] +#DEFINE lithium_36v_10 .2500 ; [mV] #DEFINE current_sleepmode .62 #DEFINE current_backlight_multi .115 ; *CCPR1L+current_backlight_offset @@ -515,6 +515,7 @@ opt_compass_gain res 1 ; 0-7 (230LSB/Gauss to 1370LSB/Gaus) opt_sampling_rate res 1 ; =1: 10s, =0: 2s opt_dive_color_scheme res 1 ; 0-3 +opt_pressure_adjust res 1 ; SIGNED int (two's complement), -20/+20mbar max. ;-----------------------------EEPROM DATA ------------------------------------ ; Automatic reset of all options when this is changed: