comparison code_part1/OSTC_code_asm_part1/surfmode.asm @ 499:2ac77db9c150

Added OLED brightness setting, texts 280, 312 and 313 need update
author heinrichsweikamp
date Tue, 15 Nov 2011 20:36:41 +0100
parents 06db5dd9149f
children 154b1d1c489e
comparison
equal deleted inserted replaced
498:4c7f7807b250 499:2ac77db9c150
27 bcf s_unlock_after_sleep ; Lock sensor results 27 bcf s_unlock_after_sleep ; Lock sensor results
28 call restart_set_modes_and_flags ; Sets decomode flags 28 call restart_set_modes_and_flags ; Sets decomode flags
29 clrf lo 29 clrf lo
30 movff lo,char_I_const_ppO2 ; reset to standard mode, OSTC assumes Air breathing at the surface! 30 movff lo,char_I_const_ppO2 ; reset to standard mode, OSTC assumes Air breathing at the surface!
31 31
32 call PLED_brightness_full ;max. brightness 32 call PLED_brightness_full ; max. brightness
33 33
34 call I2CReset 34 call I2CReset
35 call PLED_boot 35 call PLED_boot
36 call PLED_serial ; Show OSTC serial and firmware version 36 call PLED_serial ; Show OSTC serial and firmware version
37 call PLED_clock ; display time 37 call PLED_clock ; display time