Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 154:afa31c815f24
NEW: Show ppO2 for change depth during gas setup
author | heinrichsweikamp |
---|---|
date | Wed, 27 Aug 2014 17:38:21 +0200 |
parents | 0bd6dff01204 |
children | 8bcb064b4fb8 |
comparison
equal
deleted
inserted
replaced
153:0bd6dff01204 | 154:afa31c815f24 |
---|---|
3416 TFT_display_ppo2: ; Show ppO2 (ppO2 stored in xC, in mbar!) | 3416 TFT_display_ppo2: ; Show ppO2 (ppO2 stored in xC, in mbar!) |
3417 rcall TFT_warning_set_window ; Sets the row and column for the current warning | 3417 rcall TFT_warning_set_window ; Sets the row and column for the current warning |
3418 tstfsz WREG ; Is there room for the warning? | 3418 tstfsz WREG ; Is there room for the warning? |
3419 return ; No | 3419 return ; No |
3420 TFT_color_code warn_ppo2 ; Color-code output (ppO2 stored in xC) | 3420 TFT_color_code warn_ppo2 ; Color-code output (ppO2 stored in xC) |
3421 STRCPY "ppO2:" | 3421 STRCPY_TEXT tppO2 ; ppO2: |
3422 ; Check very high ppO2 manually | 3422 ; Check very high ppO2 manually |
3423 tstfsz xC+2 ; char_I_O2_ratio * p_amb/10 > 65536, ppO2>6,55bar? | 3423 tstfsz xC+2 ; char_I_O2_ratio * p_amb/10 > 65536, ppO2>6,55bar? |
3424 bra TFT_show_ppO2_3 ; Yes, display fixed Value! | 3424 bra TFT_show_ppO2_3 ; Yes, display fixed Value! |
3425 movff xC+0,lo | 3425 movff xC+0,lo |
3426 movff xC+1,hi | 3426 movff xC+1,hi |