Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/definitions.asm @ 27:29341afd2060
NEW: Depth, CNS, GF, ppO2 and Velocity are Color-coded
NEW: CF43: Depth [mBar] for color-code display
NEW: CF44: CNS [%] for color-code display
NEW: CF45: GF [%] for color-code display
NEW: CF46: ppO2 [cBar] for color-code display
NEW: CF47: Velocity [m/min] for color-code display
author | heinrichsweikamp |
---|---|
date | Sat, 15 May 2010 17:58:55 +0200 |
parents | 99512945c7a1 |
children | 943dc3336f48 |
comparison
equal
deleted
inserted
replaced
26:8d7af04e0f85 | 27:29341afd2060 |
---|---|
23 ;#DEFINE NO_SENSOR_MODE ; uses Dummy values | 23 ;#DEFINE NO_SENSOR_MODE ; uses Dummy values |
24 | 24 |
25 #DEFINE softwareversion_x d'1' ; Software version XX.YY | 25 #DEFINE softwareversion_x d'1' ; Software version XX.YY |
26 #DEFINE softwareversion_y d'61' ; Software version XX.YY | 26 #DEFINE softwareversion_y d'61' ; Software version XX.YY |
27 | 27 |
28 #DEFINE max_custom_number d'41' ; Number of last used custom function | 28 #DEFINE max_custom_number d'47' ; Number of last used custom function |
29 | 29 |
30 #DEFINE logbook_profile_version 0x20 ; Do not touch! | 30 #DEFINE logbook_profile_version 0x20 ; Do not touch! |
31 | 31 |
32 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce | 32 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce |
33 | 33 |
55 #DEFINE color_deepblue b'00000001' | 55 #DEFINE color_deepblue b'00000001' |
56 #DEFINE color_grey d'74' | 56 #DEFINE color_grey d'74' |
57 | 57 |
58 #DEFINE plus_time_correction d'42' | 58 #DEFINE plus_time_correction d'42' |
59 | 59 |
60 #DEFINE warn_depth d'1' | |
61 #DEFINE warn_cns d'2' | |
62 #DEFINE warn_gf d'3' | |
63 #DEFINE warn_ppo2 d'4' | |
64 #DEFINE warn_velocity d'5' | |
60 | 65 |
61 ;Configuration bits | 66 ;Configuration bits |
62 CONFIG OSC = IRCIO67 ;Internal oscillator block, port function on RA6 and RA7 | 67 CONFIG OSC = IRCIO67 ;Internal oscillator block, port function on RA6 and RA7 |
63 CONFIG FCMEN = OFF ;Fail-Safe Clock Monitor disabled | 68 CONFIG FCMEN = OFF ;Fail-Safe Clock Monitor disabled |
64 CONFIG IESO = OFF ;Oscillator Switchover mode disabled | 69 CONFIG IESO = OFF ;Oscillator Switchover mode disabled |