Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 187:669b5d00706d
CHANGE: Longer timeout (4 min) for calibration menu
Ignore 1,2mV noise for not-connected inputs
author | heinrichsweikamp |
---|---|
date | Sat, 25 Oct 2014 15:28:18 +0200 |
parents | abc429e8b46a |
children | ebc28381f17d |
comparison
equal
deleted
inserted
replaced
186:a004b482604a | 187:669b5d00706d |
---|---|
1140 STRCAT_PRINT "V" | 1140 STRCAT_PRINT "V" |
1141 call TFT_standard_color | 1141 call TFT_standard_color |
1142 bcf leftbind | 1142 bcf leftbind |
1143 return | 1143 return |
1144 | 1144 |
1145 global TFT_menu_hud2 | 1145 global TFT_menu_calibrate |
1146 TFT_menu_hud2: ; Yes, update mV data | 1146 TFT_menu_calibrate: ; update mV data in calibration menu |
1147 call TFT_attention_color ; show in yellow | 1147 call TFT_attention_color ; show in yellow |
1148 bsf leftbind | 1148 bsf leftbind |
1149 WIN_SMALL surf_menu_sensor1_column,surf_menu2_sensor1_row | 1149 WIN_SMALL surf_menu_sensor1_column,surf_menu2_sensor1_row |
1150 movff o2_mv_sensor1+0,lo ; in 0.1mV steps | 1150 movff o2_mv_sensor1+0,lo ; in 0.1mV steps |
1151 movff o2_mv_sensor1+1,hi ; in 0.1mV steps | 1151 movff o2_mv_sensor1+1,hi ; in 0.1mV steps |
1159 WIN_SMALL surf_menu_sensor3_column,surf_menu2_sensor3_row | 1159 WIN_SMALL surf_menu_sensor3_column,surf_menu2_sensor3_row |
1160 movff o2_mv_sensor3+0,lo ; in 0.1mV steps | 1160 movff o2_mv_sensor3+0,lo ; in 0.1mV steps |
1161 movff o2_mv_sensor3+1,hi ; in 0.1mV steps | 1161 movff o2_mv_sensor3+1,hi ; in 0.1mV steps |
1162 output_16dp .4 ; xxx.y mV | 1162 output_16dp .4 ; xxx.y mV |
1163 STRCAT_PRINT "mV " | 1163 STRCAT_PRINT "mV " |
1164 ; WIN_SMALL surf_menu2_ambient_column,surf_menu2_ambient_row | |
1165 ; PUTC "@" | |
1166 ; SAFE_2BYTE_COPY amb_pressure, lo | |
1167 ; output_16 | |
1168 ; STRCAT_TEXT tMBAR ; mbar | |
1169 ; STRCAT_PRINT " " | |
1164 call TFT_standard_color | 1170 call TFT_standard_color |
1165 bcf leftbind | 1171 bcf leftbind |
1166 return | 1172 return |
1167 | 1173 |
1168 global TFT_clock | 1174 global TFT_clock |