# HG changeset patch # User heinrichsweikamp # Date 1367761044 -7200 # Node ID ab8a7c3f1db0603ec8518653f7a4b5d0e90635f6 # Parent e4e662746c023ab28f2216376bfaad8d760dce16 battery warning levels, max. brightnes setting diff -r e4e662746c02 -r ab8a7c3f1db0 src/ostc3.inc --- a/src/ostc3.inc Wed Apr 24 19:39:39 2013 +0200 +++ b/src/ostc3.inc Sun May 05 15:37:24 2013 +0200 @@ -19,7 +19,7 @@ #include ; Portmap #DEFINE softwareversion_x d'0' ; Software version XX.YY -#DEFINE softwareversion_y d'90' ; Software version XX.YY +#DEFINE softwareversion_y d'91' ; Software version XX.YY #DEFINE softwareversion_beta 0 ; (and 0 for release) #DEFINE comm_service_key 0xABCDEF @@ -141,7 +141,7 @@ #DEFINE velocity_warning_level_1 .7 ; [m/min] ; Battery thresholds -#DEFINE lithium_36v_empty .3050 ; [mV] Saft 3,6V LS14500 AA - threshold for battery percent display +#DEFINE lithium_36v_empty .2800 ; [mV] Saft 3,6V LS14500 AA - threshold for battery percent display #DEFINE lithium_36v_low .2000 ; [mV] (Must be bigger then aa_15v_high!) #DEFINE aa_15v_high .1550 ; [mV] Energizer 1,5V E2 AA #DEFINE aa_15v_low .1100 ; [mV] According to Energizer Datasheet EBC-4201R, Page 2 @@ -158,12 +158,12 @@ #DEFINE current_compass .28 ; Brightness thresholds (between zero (off) and 255 (max. power)) -#DEFINE ambient_light_max_high_36V .220 ; When used with a 3,6V battery -#DEFINE ambient_light_max_high .170 +#DEFINE ambient_light_max_high_36V .175 ; When used with a 3,6V battery +#DEFINE ambient_light_max_high .150 #DEFINE ambient_light_min_high .40 -#DEFINE ambient_light_max_medium .155 +#DEFINE ambient_light_max_medium .135 #DEFINE ambient_light_min_medium .30 -#DEFINE ambient_light_max_eco .120 +#DEFINE ambient_light_max_eco .110 #DEFINE ambient_light_min_eco .20 ; IR Link timeout