Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu.asm @ 41:3ab1188651af
1.63 in work...
author | heinrichsweikamp |
---|---|
date | Sun, 20 Jun 2010 17:16:32 +0200 |
parents | d4f0c097a7fa |
children | 6a94f96e9cea |
comparison
equal
deleted
inserted
replaced
40:92001c045088 | 41:3ab1188651af |
---|---|
24 ; ToDo: | 24 ; ToDo: |
25 | 25 |
26 wait_switches: | 26 wait_switches: |
27 bcf switch_left | 27 bcf switch_left |
28 bcf switch_right | 28 bcf switch_right |
29 return | 29 return |
30 | 30 |
31 ; movlw d'40' | 31 ; movlw d'40' |
32 ; btfss button_delay_done ; Start counting? | 32 ; btfss button_delay_done ; Start counting? |
33 ; movlw d'200' | 33 ; movlw d'200' |
34 ; movwf switch_timeout | 34 ; movwf switch_timeout |
62 ; bcf LED_red | 62 ; bcf LED_red |
63 ; return | 63 ; return |
64 ; | 64 ; |
65 menu: | 65 menu: |
66 bcf deco_mode_changed ; Clear flag (Description is only showed once) | 66 bcf deco_mode_changed ; Clear flag (Description is only showed once) |
67 bcf LED_blue | |
67 movlw d'1' | 68 movlw d'1' |
68 movwf menupos | 69 movwf menupos |
69 menu2: | 70 menu2: |
70 | 71 |
71 bcf leftbind | 72 bcf leftbind |