comparison 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
comparison
equal deleted inserted replaced
91:917393caf559 92:7ca1105751c7
148 #DEFINE aa_15v_high .1550 ; [mV] Energizer 1,5V E2 AA 148 #DEFINE aa_15v_high .1550 ; [mV] Energizer 1,5V E2 AA
149 #DEFINE aa_15v_low .1100 ; [mV] According to Energizer Datasheet EBC-4201R, Page 2 149 #DEFINE aa_15v_low .1100 ; [mV] According to Energizer Datasheet EBC-4201R, Page 2
150 #DEFINE color_code_battery_low .10 ; [%] 150 #DEFINE color_code_battery_low .10 ; [%]
151 #DEFINE battery_show_level .24 ; [%] 151 #DEFINE battery_show_level .24 ; [%]
152 152
153 ; 3,6V battery sensing data points at 55mA load 153 ; 3,6V battery sensing data points at 70mA load
154 #DEFINE lithium_36v_75 .3100 ; [mV] 154 #DEFINE lithium_36v_75 .3000 ; [mV]
155 #DEFINE lithium_36v_50 .3000 ; [mV] 155 #DEFINE lithium_36v_50 .2900 ; [mV]
156 #DEFINE lithium_36v_25 .2900 ; [mV] 156 #DEFINE lithium_36v_25 .2600 ; [mV]
157 #DEFINE lithium_36v_10 .2600 ; [mV] 157 #DEFINE lithium_36v_10 .2500 ; [mV]
158 158
159 #DEFINE current_sleepmode .62 159 #DEFINE current_sleepmode .62
160 #DEFINE current_backlight_multi .115 ; *CCPR1L+current_backlight_offset 160 #DEFINE current_backlight_multi .115 ; *CCPR1L+current_backlight_offset
161 #DEFINE current_backlight_offset .216 161 #DEFINE current_backlight_offset .216
162 #DEFINE current_speed_eco .1914 162 #DEFINE current_speed_eco .1914
513 opt_GF_low res 1 ; GF LOW 513 opt_GF_low res 1 ; GF LOW
514 opt_enable_aGF res 1 ; =1: aGF can be selected underwater 514 opt_enable_aGF res 1 ; =1: aGF can be selected underwater
515 opt_compass_gain res 1 ; 0-7 (230LSB/Gauss to 1370LSB/Gaus) 515 opt_compass_gain res 1 ; 0-7 (230LSB/Gauss to 1370LSB/Gaus)
516 opt_sampling_rate res 1 ; =1: 10s, =0: 2s 516 opt_sampling_rate res 1 ; =1: 10s, =0: 2s
517 opt_dive_color_scheme res 1 ; 0-3 517 opt_dive_color_scheme res 1 ; 0-3
518 opt_pressure_adjust res 1 ; SIGNED int (two's complement), -20/+20mbar max.
518 519
519 ;-----------------------------EEPROM DATA ------------------------------------ 520 ;-----------------------------EEPROM DATA ------------------------------------
520 ; Automatic reset of all options when this is changed: 521 ; Automatic reset of all options when this is changed:
521 #define eeprom_opt_serial 0x0005 ; Version 0.5 522 #define eeprom_opt_serial 0x0005 ; Version 0.5
522 523