Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu.asm @ 125:2907b42c195b
Altimeter:
- use H = 19902 log10(P0/P)
- Interface to select sea level mbars.
- Average over 32 values, using 1/16 of mbar.
- Display in customview area.
- Fix display ****m when not yet computed
- Fix reset when exiting sleep mode
- Fix : edit menu in 1/4 of mbar.
- Fix use CF#49 to enable/disable altimeter, also in altimeter menu.
- Fix visible in Menu 2
author | JeanDo |
---|---|
date | Wed, 29 Dec 2010 01:41:13 +0100 |
parents | 6a94f96e9cea |
children | 06c4899ddb4b |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu.asm Sat Jan 01 01:57:50 2011 +0100 +++ b/code_part1/OSTC_code_asm_part1/menu.asm Wed Dec 29 01:41:13 2010 +0100 @@ -171,14 +171,14 @@ more_menu_loop: call check_switches_menu - movlw d'5' ; 5 items in "More Menu" - cpfseq menupos - bra more_menu_loop2 - movlw d'6' - movwf menupos - call PLED_menu_cursor - -more_menu_loop2: +; movlw d'5' ; 5 items in "More Menu" +; cpfseq menupos +; bra more_menu_loop2 +; movlw d'6' +; movwf menupos +; call PLED_menu_cursor + +;more_menu_loop2: btfsc menubit2 bra do_more_menu ; call submenu @@ -217,7 +217,7 @@ dcfsnz menupos,F goto menu_simulator dcfsnz menupos,F - goto menu_simulator + goto altimeter_menu movlw d'5' movwf menupos bra menu2 ; exit...