comparison code_part1/OSTC_code_asm_part1/pled_outputs.asm @ 576:ab2686087bce

faster font display, code cleaning
author heinrichsweikamp
date Sun, 22 Apr 2012 14:38:10 +0200
parents 101fec6a6137
children 1b021a280e15
comparison
equal deleted inserted replaced
575:cbdcbbc91877 576:ab2686087bce
371 PUTC ' ' 371 PUTC ' '
372 movff flag12,lo 372 movff flag12,lo
373 output_8 373 output_8
374 call word_processor 374 call word_processor
375 375
376 bcf switch_left 376 call wait_switches ; Waits until switches are released, resets flag if button stays pressed!
377 PLED_resetdebugger_loop: 377 PLED_resetdebugger_loop:
378 bcf LED_blue ; Blink blue led every seconds.. 378 bcf LED_blue ; Blink blue led every seconds..
379 btfss secs,0 379 btfss secs,0
380 bsf LED_blue 380 bsf LED_blue
381 381
382 btfss switch_left 382 btfss switch_left
383 bra PLED_resetdebugger_loop ; Loop 383 bra PLED_resetdebugger_loop ; Loop
384 384
385 bcf LED_blue 385 bcf LED_blue
386 bcf switch_left 386 call wait_switches ; Waits until switches are released, resets flag if button stays pressed!
387 return 387 return
388 388
389 PLED_divemode_mask: ; Displays mask in Dive-Mode 389 PLED_divemode_mask: ; Displays mask in Dive-Mode
390 call PLED_divemask_color ; Set Color for Divemode mask 390 call PLED_divemask_color ; Set Color for Divemode mask
391 DISPLAYTEXTH .267 ; Max. 391 DISPLAYTEXTH .267 ; Max.