Mercurial > public > hwos_code
comparison src/ostc3.inc @ 43:83794355f927
.99 release
author | heinrichsweikamp |
---|---|
date | Fri, 16 Aug 2013 09:30:27 +0200 |
parents | e4e91fe8b09d |
children | 18fe4e668baa |
comparison
equal
deleted
inserted
replaced
42:92aa5238a99c | 43:83794355f927 |
---|---|
18 #include <p18f87k22.inc> | 18 #include <p18f87k22.inc> |
19 #include <ports.inc> ; Portmap | 19 #include <ports.inc> ; Portmap |
20 | 20 |
21 #DEFINE softwareversion_x d'0' ; Software version XX.YY | 21 #DEFINE softwareversion_x d'0' ; Software version XX.YY |
22 #DEFINE softwareversion_y d'99' ; Software version XX.YY | 22 #DEFINE softwareversion_y d'99' ; Software version XX.YY |
23 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 23 #DEFINE softwareversion_beta 0 ; (and 0 for release) |
24 | 24 |
25 #DEFINE comm_service_key 0xABCDEF | 25 #DEFINE comm_service_key 0xABCDEF |
26 | 26 |
27 ;----------------------------------------------------------------------------- | 27 ;----------------------------------------------------------------------------- |
28 | 28 |
144 ; Battery thresholds | 144 ; Battery thresholds |
145 #DEFINE lithium_36v_empty .2400 ; [mV] Saft 3,6V LS14500 AA - threshold for battery percent display | 145 #DEFINE lithium_36v_empty .2400 ; [mV] Saft 3,6V LS14500 AA - threshold for battery percent display |
146 #DEFINE lithium_36v_low .2000 ; [mV] (Must be bigger then aa_15v_high!) | 146 #DEFINE lithium_36v_low .2000 ; [mV] (Must be bigger then aa_15v_high!) |
147 #DEFINE aa_15v_high .1550 ; [mV] Energizer 1,5V E2 AA | 147 #DEFINE aa_15v_high .1550 ; [mV] Energizer 1,5V E2 AA |
148 #DEFINE aa_15v_low .1100 ; [mV] According to Energizer Datasheet EBC-4201R, Page 2 | 148 #DEFINE aa_15v_low .1100 ; [mV] According to Energizer Datasheet EBC-4201R, Page 2 |
149 #DEFINE color_code_battery_low .15 ; [%] | 149 #DEFINE color_code_battery_low .10 ; [%] |
150 #DEFINE battery_show_level .30 ; [%] | 150 #DEFINE battery_show_level .24 ; [%] |
151 | 151 |
152 ; 3,6V battery sensing data points at 55mA load | 152 ; 3,6V battery sensing data points at 55mA load |
153 #DEFINE lithium_36v_75 .3200 ; [mV] | 153 #DEFINE lithium_36v_75 .3200 ; [mV] |
154 #DEFINE lithium_36v_50 .3100 ; [mV] | 154 #DEFINE lithium_36v_50 .3100 ; [mV] |
155 #DEFINE lithium_36v_25 .2900 ; [mV] | 155 #DEFINE lithium_36v_25 .2900 ; [mV] |