comparison src/tft_outputs.asm @ 454:0ef84436df32

minor: fix some alignments for OSTC cR
author heinrichsweikamp
date Tue, 27 Sep 2016 16:03:31 +0200
parents b4f28ab23b87
children b86f86ec570e
comparison
equal deleted inserted replaced
453:b4f28ab23b87 454:0ef84436df32
1249 movff o2_mv_sensor3+0,lo 1249 movff o2_mv_sensor3+0,lo
1250 movff o2_mv_sensor3+1,hi 1250 movff o2_mv_sensor3+1,hi
1251 bsf leftbind 1251 bsf leftbind
1252 output_16dp .4 ; x.xx 1252 output_16dp .4 ; x.xx
1253 bcf leftbind 1253 bcf leftbind
1254 STRCAT_PRINT "mV " 1254 STRCAT "mV "
1255 clrf WREG
1256 movff WREG,buffer+.6 ; limit string length to 6
1257 STRCAT_PRINT ""
1255 goto TFT_standard_color ; and return... 1258 goto TFT_standard_color ; and return...
1256 1259
1257 global TFT_update_ppo2_sensors ; Update Sensor data 1260 global TFT_update_ppo2_sensors ; Update Sensor data
1258 TFT_update_ppo2_sensors: 1261 TFT_update_ppo2_sensors:
1259 ; show three sensors 1262 ; show three sensors
1396 output_16dp .3 ; x.xx bar 1399 output_16dp .3 ; x.xx bar
1397 PUTC "," 1400 PUTC ","
1398 movff o2_mv_sensor1+0,lo ; in 0.1mV steps 1401 movff o2_mv_sensor1+0,lo ; in 0.1mV steps
1399 movff o2_mv_sensor1+1,hi ; in 0.1mV steps 1402 movff o2_mv_sensor1+1,hi ; in 0.1mV steps
1400 output_16dp .4 ; xxx.y mV 1403 output_16dp .4 ; xxx.y mV
1401 STRCAT_PRINT "mV " 1404 STRCAT "mV "
1405 clrf WREG
1406 movff WREG,buffer+.10 ; limit string length to 10
1407 STRCAT_PRINT ""
1402 WIN_SMALL surf_menu_sensor2_column,surf_menu_sensor2_row 1408 WIN_SMALL surf_menu_sensor2_column,surf_menu_sensor2_row
1403 movff o2_ppo2_sensor2,lo 1409 movff o2_ppo2_sensor2,lo
1404 clrf hi 1410 clrf hi
1405 output_16dp .3 ; x.xx bar 1411 output_16dp .3 ; x.xx bar
1406 PUTC "," 1412 PUTC ","
1407 movff o2_mv_sensor2+0,lo ; in 0.1mV steps 1413 movff o2_mv_sensor2+0,lo ; in 0.1mV steps
1408 movff o2_mv_sensor2+1,hi ; in 0.1mV steps 1414 movff o2_mv_sensor2+1,hi ; in 0.1mV steps
1409 output_16dp .4 ; xxx.y mV 1415 output_16dp .4 ; xxx.y mV
1410 STRCAT_PRINT "mV " 1416 STRCAT "mV "
1417 clrf WREG
1418 movff WREG,buffer+.10 ; limit string length to 10
1419 STRCAT_PRINT ""
1411 WIN_SMALL surf_menu_sensor3_column,surf_menu_sensor3_row 1420 WIN_SMALL surf_menu_sensor3_column,surf_menu_sensor3_row
1412 movff o2_ppo2_sensor3,lo 1421 movff o2_ppo2_sensor3,lo
1413 clrf hi 1422 clrf hi
1414 output_16dp .3 ; x.xx bar 1423 output_16dp .3 ; x.xx bar
1415 PUTC "," 1424 PUTC ","
1416 movff o2_mv_sensor3+0,lo ; in 0.1mV steps 1425 movff o2_mv_sensor3+0,lo ; in 0.1mV steps
1417 movff o2_mv_sensor3+1,hi ; in 0.1mV steps 1426 movff o2_mv_sensor3+1,hi ; in 0.1mV steps
1418 output_16dp .4 ; xxx.y mV 1427 output_16dp .4 ; xxx.y mV
1419 STRCAT_PRINT "mV " 1428 STRCAT "mV "
1429 clrf WREG
1430 movff WREG,buffer+.10 ; limit string length to 10
1431 STRCAT_PRINT ""
1420 WIN_SMALL surf_menu_sensor4_column,surf_menu_sensor4_row 1432 WIN_SMALL surf_menu_sensor4_column,surf_menu_sensor4_row
1421 1433
1422 btfss analog_o2_input 1434 btfss analog_o2_input
1423 bra TFT_menu_hud_2 ; always for normal OSTC3 1435 bra TFT_menu_hud_2 ; always for normal OSTC3
1424 btfss s8_digital 1436 btfss s8_digital