Mercurial > public > hwos_code
comparison src/hwos.inc @ 578:2b8ef780cfa8
work in progress...
| author | heinrichsweikamp |
|---|---|
| date | Sun, 18 Feb 2018 21:04:54 +0100 |
| parents | bf34a2f784ab |
| children | e6d5a1f02daf |
comparison
equal
deleted
inserted
replaced
| 577:bfb87b4cf2ca | 578:2b8ef780cfa8 |
|---|---|
| 13 | 13 |
| 14 LIST P=18F87K22 ; change also: Configure->SelectDevice from Mplab | 14 LIST P=18F87K22 ; change also: Configure->SelectDevice from Mplab |
| 15 | 15 |
| 16 ;#DEFINE __DEBUG | 16 ;#DEFINE __DEBUG |
| 17 | 17 |
| 18 #DEFINE french_italian ; If defined, use french and italian instead of english and german | 18 ;#DEFINE french_italian ; If defined, use french and italian instead of english and german |
| 19 | 19 |
| 20 #include <p18f87k22.inc> | 20 #include <p18f87k22.inc> |
| 21 #include <ports.inc> ; Portmap | 21 #include <ports.inc> ; Portmap |
| 22 | 22 |
| 23 ; Firmware definition | 23 ; Firmware definition |
| 641 opt_salinity res 1 ; 0-5% | 641 opt_salinity res 1 ; 0-5% |
| 642 #DEFINE opt_name_length .60 ; Custom text string 5 rows with 12 chars | 642 #DEFINE opt_name_length .60 ; Custom text string 5 rows with 12 chars |
| 643 opt_name res opt_name_length | 643 opt_name res opt_name_length |
| 644 opt_language res 1 ; Current language. 0=EN, 1=DE, 2=FR, 3=SP | 644 opt_language res 1 ; Current language. 0=EN, 1=DE, 2=FR, 3=SP |
| 645 opt_units res 1 ; 0:m/°C, 1:ft/°F | 645 opt_units res 1 ; 0:m/°C, 1:ft/°F |
| 646 opt_dateformat res 1 ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD | 646 opt_dateformat res 1 ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD |
| 647 opt_last_stop res 1 ; =3:3m, =4:4m, =5:5m, =6:6m | 647 opt_last_stop res 1 ; =3:3m, =4:4m, =5:5m, =6:6m |
| 648 opt_aGF_high res 1 ; Alternative GF HIGH | 648 opt_aGF_high res 1 ; Alternative GF HIGH |
| 649 opt_aGF_low res 1 ; Alternative GF LOW | 649 opt_aGF_low res 1 ; Alternative GF LOW |
| 650 opt_GF_high res 1 ; GF HIGH | 650 opt_GF_high res 1 ; GF HIGH |
| 651 opt_GF_low res 1 ; GF LOW | 651 opt_GF_low res 1 ; GF LOW |
| 654 opt_sampling_rate res 1 ; =1: 10s, =0: 2s | 654 opt_sampling_rate res 1 ; =1: 10s, =0: 2s |
| 655 opt_dive_color_scheme res 1 ; 0-3 | 655 opt_dive_color_scheme res 1 ; 0-3 |
| 656 opt_pressure_adjust res 1 ; SIGNED int (two's complement), -20/+20mbar max. | 656 opt_pressure_adjust res 1 ; SIGNED int (two's complement), -20/+20mbar max. |
| 657 opt_enable_safetystop res 1 ; =1: A safety stop is shown | 657 opt_enable_safetystop res 1 ; =1: A safety stop is shown |
| 658 opt_calibration_O2_ratio res 1 ; %O2 of calibration gas | 658 opt_calibration_O2_ratio res 1 ; %O2 of calibration gas |
| 659 opt_x_s1 res 2 ; calibration factor (Not stored in EEPROM) | 659 opt_x_s1 res 2 ; calibration factor (Not stored in EEPROM) |
| 660 opt_x_s2 res 2 ; calibration factor (Not stored in EEPROM) | 660 opt_x_s2 res 2 ; calibration factor (Not stored in EEPROM) |
| 661 opt_x_s3 res 2 ; calibration factor (Not stored in EEPROM) | 661 opt_x_s3 res 2 ; calibration factor (Not stored in EEPROM) |
| 662 opt_sensor_fallback res 1 ; NOT USED ANY MORE, KEPT FOR COMPATIBILITY WITH EEPROM IMAGE | 662 opt_sensor_fallback res 1 ; NOT USED ANY MORE, KEPT FOR COMPATIBILITY WITH EEPROM IMAGE |
| 663 opt_flip_screen res 1 ; =1: Flip the screen | 663 opt_flip_screen res 1 ; =1: Flip the screen |
| 664 opt_cR_button_left res 1 ; Left button sensitivity (cR hardware) | 664 opt_cR_button_left res 1 ; Left button sensitivity (cR hardware) |
| 665 opt_cR_button_right res 1 ; Right button sensitivity (cR hardware) | 665 opt_cR_button_right res 1 ; Right button sensitivity (cR hardware) |
| 666 opt_modwarning res 1 ; =1:do a red blinking warning, =0:default behaviour | 666 opt_modwarning res 1 ; =1:do a red blinking warning, =0:default behaviour |
