Mercurial > public > mk2
diff code_part1/OSTC_code_asm_part1/menu_settime.asm @ 255:1efd59d689f8
small change in the set time menu, default setpoints set to 0.8, 1.0 and 1.2Bar
author | heinrichsweikamp |
---|---|
date | Sun, 10 Apr 2011 09:17:20 +0200 |
parents | f5e9db793dd3 |
children | ab2686087bce |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_settime.asm Fri Apr 08 11:58:55 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/menu_settime.asm Sun Apr 10 09:17:20 2011 +0200 @@ -50,14 +50,14 @@ DISPLAYTEXT .24 ; Set Hours + bcf switch_right bcf switch_left - bcf switch_right settime_loop: - btfsc switch_left + btfsc switch_right call add_hours_or_minutes_or_date - btfsc switch_right + btfsc switch_left call set_time_next_or_exit btfsc menubit4 @@ -137,9 +137,9 @@ movwf day set_time_done2: - WIN_LEFT .32 - WIN_TOP .155 - movlw (.160-.32)/7 ; full line length, for various translations. + WIN_LEFT .0 + WIN_TOP .215 + movlw (.160-.0)/7 ; full line length, for various translations. movwf temp1 call PLED_display_clear_common_y1 @@ -193,8 +193,8 @@ dcfsnz menupos3,F bsf set_year - WIN_LEFT .32 - WIN_TOP .155 + WIN_LEFT .0 + WIN_TOP .215 call PLED_standard_color lfsr FSR2,letter OUTPUTTEXT .94 ; Set @@ -223,7 +223,7 @@ return add_hours_or_minutes_or_date: - bcf switch_right + bcf switch_left clrf secs btfsc set_year