comparison src/tft_outputs.asm @ 412:e8a1486815d9

2.04beta start
author heinrichsweikamp
date Tue, 15 Mar 2016 12:19:12 +0100
parents ec362cef2d52
children 12e85930d95c
comparison
equal deleted inserted replaced
411:93b270b3503d 412:e8a1486815d9
1288 bra TFT_update_hud2 ; Skip Sensor 1 1288 bra TFT_update_hud2 ; Skip Sensor 1
1289 TFT_update_hud1: 1289 TFT_update_hud1:
1290 WIN_MEDIUM dm_custom_hud_sensor1_column,dm_custom_hud_data_row 1290 WIN_MEDIUM dm_custom_hud_sensor1_column,dm_custom_hud_data_row
1291 movff o2_ppo2_sensor1,lo 1291 movff o2_ppo2_sensor1,lo
1292 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo 1292 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo
1293 btfss voting_logic_sensor1 ; Sensor within voting logic? 1293 btfss voting_logic_sensor1 ; Sensor within voting logic? ; Make this configurable?
1294 bsf win_invert ; No, invert output... 1294 bsf win_invert ; No, invert output... ; Make this configurable?
1295 btfss voting_logic_sensor1 1295 btfss voting_logic_sensor1
1296 call TFT_warnings_color ; ... and draw in red 1296 call TFT_warnings_color ; ... and draw in red
1297 clrf hi 1297 clrf hi
1298 output_16dp .3 ; x.xx bar 1298 output_16dp .3 ; x.xx bar
1299 STRCAT_PRINT "" 1299 STRCAT_PRINT ""
1312 bra TFT_update_hud4 ; Skip Sensor 2 1312 bra TFT_update_hud4 ; Skip Sensor 2
1313 TFT_update_hud3: 1313 TFT_update_hud3:
1314 WIN_MEDIUM dm_custom_hud_sensor2_column,dm_custom_hud_data_row 1314 WIN_MEDIUM dm_custom_hud_sensor2_column,dm_custom_hud_data_row
1315 movff o2_ppo2_sensor2,lo 1315 movff o2_ppo2_sensor2,lo
1316 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo 1316 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo
1317 btfss voting_logic_sensor2 ; Sensor within voting logic? 1317 btfss voting_logic_sensor2 ; Sensor within voting logic? ; Make this configurable?
1318 bsf win_invert ; No, invert output... 1318 bsf win_invert ; No, invert output... ; Make this configurable?
1319 btfss voting_logic_sensor2 1319 btfss voting_logic_sensor2
1320 call TFT_warnings_color ; ... and draw in red 1320 call TFT_warnings_color ; ... and draw in red
1321 clrf hi 1321 clrf hi
1322 output_16dp .3 ; x.xx bar 1322 output_16dp .3 ; x.xx bar
1323 STRCAT_PRINT "" 1323 STRCAT_PRINT ""
1336 bra TFT_update_hud6 ; Skip Sensor 3 1336 bra TFT_update_hud6 ; Skip Sensor 3
1337 TFT_update_hud5: 1337 TFT_update_hud5:
1338 WIN_MEDIUM dm_custom_hud_sensor3_column,dm_custom_hud_data_row 1338 WIN_MEDIUM dm_custom_hud_sensor3_column,dm_custom_hud_data_row
1339 movff o2_ppo2_sensor3,lo 1339 movff o2_ppo2_sensor3,lo
1340 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo 1340 TFT_color_code warn_ppo2_hud ; With ppO2 [cbar] in lo
1341 btfss voting_logic_sensor3 ; Sensor within voting logic? 1341 btfss voting_logic_sensor3 ; Sensor within voting logic? ; Make this configurable?
1342 bsf win_invert ; No, invert output... 1342 bsf win_invert ; No, invert output... ; Make this configurable?
1343 btfss voting_logic_sensor3 1343 btfss voting_logic_sensor3
1344 call TFT_warnings_color ; ... and draw in red 1344 call TFT_warnings_color ; ... and draw in red
1345 clrf hi 1345 clrf hi
1346 output_16dp .3 ; x.xx bar 1346 output_16dp .3 ; x.xx bar
1347 STRCAT_PRINT "" 1347 STRCAT_PRINT ""