Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/menu_custom.asm @ 27:29341afd2060
NEW: Depth, CNS, GF, ppO2 and Velocity are Color-coded
NEW: CF43: Depth [mBar] for color-code display
NEW: CF44: CNS [%] for color-code display
NEW: CF45: GF [%] for color-code display
NEW: CF46: ppO2 [cBar] for color-code display
NEW: CF47: Velocity [m/min] for color-code display
author | heinrichsweikamp |
---|---|
date | Sat, 15 May 2010 17:58:55 +0200 |
parents | 99512945c7a1 |
children | c6cab044a338 |
comparison
equal
deleted
inserted
replaced
26:8d7af04e0f85 | 27:29341afd2060 |
---|---|
279 movwf EEADR | 279 movwf EEADR |
280 call read_eeprom ; Highbyte | 280 call read_eeprom ; Highbyte |
281 movff EEDATA,hi | 281 movff EEDATA,hi |
282 bcf hi,7 ; clear Bit 7 of value | 282 bcf hi,7 ; clear Bit 7 of value |
283 output_16 | 283 output_16 |
284 movlw '(' | 284 movlw ',' |
285 movwf POSTINC2 | 285 movwf POSTINC2 |
286 | 286 |
287 movlw '1' | 287 movlw '1' |
288 btfss EEDATA,7 ; 15Bit? | 288 btfss EEDATA,7 ; 15Bit? |
289 movlw '8' ; 8Bit! | 289 movlw '8' ; 8Bit! |
292 movwf POSTINC2 | 292 movwf POSTINC2 |
293 | 293 |
294 movlw '5' | 294 movlw '5' |
295 btfsc EEDATA,7 ; 15Bit? | 295 btfsc EEDATA,7 ; 15Bit? |
296 movwf POSTINC2 | 296 movwf POSTINC2 |
297 | |
298 movlw 'B' | 297 movlw 'B' |
299 movwf POSTINC2 | |
300 movlw ')' | |
301 movwf POSTINC2 | 298 movwf POSTINC2 |
302 movlw ' ' | 299 movlw ' ' |
303 movwf POSTINC2 | 300 movwf POSTINC2 |
304 movlw ' ' | 301 movlw ' ' |
305 movwf POSTINC2 | 302 movwf POSTINC2 |