Mercurial > public > hwos_code
comparison src/ostc3.inc @ 136:9a637c9bb19a
rename Deco Planner to Simulator
author | heinrichsweikamp |
---|---|
date | Thu, 17 Jul 2014 13:29:25 +0200 |
parents | ec0b1e829399 |
children | be997abd1f73 |
comparison
equal
deleted
inserted
replaced
135:42a2cfc3e85d | 136:9a637c9bb19a |
---|---|
17 | 17 |
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'1' ; Software version XX.YY | 21 #DEFINE softwareversion_x d'1' ; Software version XX.YY |
22 #DEFINE softwareversion_y d'42' ; Software version XX.YY | 22 #DEFINE softwareversion_y d'44' ; Software version XX.YY |
23 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 23 #DEFINE softwareversion_beta 1 ; (and 0 for release) |
24 | 24 |
25 #DEFINE comm_service_key 0xABCDEF | 25 #DEFINE comm_service_key 0xABCDEF |
26 | 26 |
27 ;----------------------------------------------------------------------------- | 27 ;----------------------------------------------------------------------------- |
171 #DEFINE current_speed_fastest .5050 | 171 #DEFINE current_speed_fastest .5050 |
172 #DEFINE current_ir_reciever .139 | 172 #DEFINE current_ir_reciever .139 |
173 #DEFINE current_compass .28 | 173 #DEFINE current_compass .28 |
174 | 174 |
175 ; Brightness thresholds (between zero (off) and 255 (max. power)) | 175 ; Brightness thresholds (between zero (off) and 255 (max. power)) |
176 #DEFINE ambient_light_max_high_36V .175 ; When used with a 3,6V battery | 176 #DEFINE ambient_light_max_high_36V .175 |
177 #DEFINE ambient_light_max_high .240 ; For rechargeable battery | 177 #DEFINE ambient_light_max_high_c3 .240 |
178 ;#DEFINE ambient_light_max_high .150 | 178 #DEFINE ambient_light_max_high_15V .150 |
179 #DEFINE ambient_light_min_high .40 | 179 #DEFINE ambient_light_min_high .40 |
180 #DEFINE ambient_light_max_medium .135 | 180 #DEFINE ambient_light_max_medium .135 |
181 #DEFINE ambient_light_min_medium .30 | 181 #DEFINE ambient_light_min_medium .30 |
182 #DEFINE ambient_light_max_eco .90 | 182 #DEFINE ambient_light_max_eco .90 |
183 #DEFINE ambient_light_min_eco .15 ; Must be the lowest value! | 183 #DEFINE ambient_light_min_eco .15 ; Must be the lowest value! |