Mercurial > public > hwos_code
comparison src/hwos.inc @ 402:a3a0f1fd7fc4
NEW: Logbook shows markers with small orange boxes in the profile
Slightly reduce max. backlight levels
author | heinrichsweikamp |
---|---|
date | Sun, 10 Jan 2016 09:36:47 +0100 |
parents | db25f2028074 |
children | 6e60012bb3fc |
comparison
equal
deleted
inserted
replaced
401:7be43d886bb1 | 402:a3a0f1fd7fc4 |
---|---|
17 | 17 |
18 #include <p18f87k22.inc> | 18 #include <p18f87k22.inc> |
19 #include <ports.inc> ; Portmap | 19 #include <ports.inc> ; Portmap |
20 | 20 |
21 ; Firmware definition | 21 ; Firmware definition |
22 #DEFINE softwareversion_x d'1' ; Software version XX.YY | 22 #DEFINE softwareversion_x d'2' ; Software version XX.YY |
23 #DEFINE softwareversion_y d'94' ; Software version XX.YY | 23 #DEFINE softwareversion_y d'00' ; Software version XX.YY |
24 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 24 #DEFINE softwareversion_beta 1 ; (and 0 for release) |
25 ; Firmware version will appear in "Change Firmware" style | 25 ; Firmware version will appear in "Change Firmware" style |
26 #DEFINE firmware_expire_year .16 | 26 #DEFINE firmware_expire_year .17 |
27 #DEFINE firmware_expire_month .10 | 27 #DEFINE firmware_expire_month .1 |
28 #DEFINE firmware_expire_day .1 | 28 #DEFINE firmware_expire_day .10 |
29 | 29 |
30 #DEFINE comm_service_key 0xABCDEF | 30 #DEFINE comm_service_key 0xABCDEF |
31 | 31 |
32 ;----------------------------------------------------------------------------- | 32 ;----------------------------------------------------------------------------- |
33 | 33 |
173 #DEFINE current_speed_fastest .5050 | 173 #DEFINE current_speed_fastest .5050 |
174 #DEFINE current_ir_reciever .139 | 174 #DEFINE current_ir_reciever .139 |
175 #DEFINE current_compass .28 | 175 #DEFINE current_compass .28 |
176 | 176 |
177 ; Brightness thresholds (between zero (off) and 255 (max. power)) | 177 ; Brightness thresholds (between zero (off) and 255 (max. power)) |
178 #DEFINE ambient_light_max_high_36V .175 | 178 #DEFINE ambient_light_max_high_36V .170 |
179 #DEFINE ambient_light_max_high_cr .240 | 179 #DEFINE ambient_light_max_high_cr .240 |
180 #DEFINE ambient_light_max_high_15V .150 | 180 #DEFINE ambient_light_max_high_15V .140 |
181 #DEFINE ambient_light_min_high .35 | 181 #DEFINE ambient_light_min_high .35 |
182 #DEFINE ambient_light_max_medium .135 | 182 #DEFINE ambient_light_max_medium .125 |
183 #DEFINE ambient_light_min_medium .25 | 183 #DEFINE ambient_light_min_medium .25 |
184 #DEFINE ambient_light_max_eco .75 | 184 #DEFINE ambient_light_max_eco .70 |
185 #DEFINE ambient_light_min_eco .10 ; Must be the lowest value! | 185 #DEFINE ambient_light_min_eco .10 ; Must be the lowest value! |
186 | 186 |
187 ; IR Link timeout | 187 ; IR Link timeout |
188 #DEFINE ir_timeout_value .64 ; multiples of 62,5ms | 188 #DEFINE ir_timeout_value .64 ; multiples of 62,5ms |
189 | 189 |