Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 532:f5a06b9e2fef
cleanup debug stuff
author | heinrichsweikamp |
---|---|
date | Sat, 17 Dec 2011 10:28:29 +0100 |
parents | e2acb601504c |
children | 44e9b961f156 |
comparison
equal
deleted
inserted
replaced
531:d0f719aa5166 | 532:f5a06b9e2fef |
---|---|
2849 btfsc display_set_setpoint ; In Setpoint list? | 2849 btfsc display_set_setpoint ; In Setpoint list? |
2850 return ; Yes, return. | 2850 return ; Yes, return. |
2851 movlw color_yellow ; Blink in yellow | 2851 movlw color_yellow ; Blink in yellow |
2852 call PLED_set_color | 2852 call PLED_set_color |
2853 WIN_LEFT .95 | 2853 WIN_LEFT .95 |
2854 WIN_TOP .150 | 2854 WIN_TOP .148 |
2855 WIN_FONT FT_SMALL | 2855 WIN_FONT FT_SMALL |
2856 | 2856 |
2857 movlw .6 | 2857 movlw .6 |
2858 cpfslt menupos ; <6? | 2858 cpfslt menupos ; <6? |
2859 bra PLED_show_change_depth_clear ; Yes! | 2859 bra PLED_show_change_depth_clear ; Yes! |
2860 | 2860 |
2861 bsf leftbind | 2861 bsf leftbind |
2862 STRCPY TXT_GAS1 | 2862 STRCPY TXT_GAS1 |
2863 movff menupos,lo | 2863 movff menupos,lo |
2864 output_8 ; Show gas number | 2864 output_8 ; Show gas number |
2865 STRCAT " in " | 2865 STRCAT TXT_AT4 ; " at " |
2866 decf menupos,W | 2866 decf menupos,W |
2867 addlw d'28' ; offset in memory | 2867 addlw d'28' ; offset in memory |
2868 movwf EEADR | 2868 movwf EEADR |
2869 call read_eeprom ; Low-value | 2869 call read_eeprom ; Low-value |
2870 movff EEDATA,lo | 2870 movff EEDATA,lo |
2871 output_8 ; Show gas number | 2871 output_8 ; Show gas number |
2872 STRCAT_PRINT "m " | 2872 STRCAT_PRINT TXT_METER2 ; "m " |
2873 bcf leftbind | 2873 bcf leftbind |
2874 call PLED_standard_color | 2874 call PLED_standard_color |
2875 return | 2875 return |
2876 | 2876 |
2877 PLED_show_change_depth_clear: | 2877 PLED_show_change_depth_clear: |