Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 564:54346c651b6a
bring digital S8 HUD back to life...
author | heinrichsweikamp |
---|---|
date | Mon, 05 Feb 2018 17:59:55 +0100 |
parents | b7eb98dbd800 |
children | b8f45b57302d |
comparison
equal
deleted
inserted
replaced
563:f4faff954816 | 564:54346c651b6a |
---|---|
1621 | 1621 |
1622 global TFT_menu_calibrate | 1622 global TFT_menu_calibrate |
1623 TFT_menu_calibrate: ; update mV data in calibration menu | 1623 TFT_menu_calibrate: ; update mV data in calibration menu |
1624 btfss s8_digital ; =1: Digital I/O | 1624 btfss s8_digital ; =1: Digital I/O |
1625 bra TFT_menu_calibrate_analog ; use analog | 1625 bra TFT_menu_calibrate_analog ; use analog |
1626 TFT_menu_calibrate_wait: | 1626 btfss new_s8_data_available ; New data frame recieved? |
1627 btfss new_s8_data_available ; =1: New data frame recieved | 1627 bra TFT_menu_calibrate_common ; No, use old values... |
1628 bra TFT_menu_calibrate_wait | 1628 ; Yes. Update the values |
1629 call compute_mvolts_for_all_sensors | 1629 call compute_mvolts_for_all_sensors |
1630 bra TFT_menu_calibrate_common | 1630 bra TFT_menu_calibrate_common |
1631 TFT_menu_calibrate_analog: | 1631 TFT_menu_calibrate_analog: |
1632 call get_analog_inputs | 1632 call get_analog_inputs |
1633 TFT_menu_calibrate_common: | 1633 TFT_menu_calibrate_common: |
1634 call TFT_attention_color ; show in yellow | 1634 call TFT_attention_color ; show in yellow |
1635 bsf leftbind | 1635 bsf leftbind |