comparison src/comm.asm @ 368:57e349960ef4

Additional temperature calibration via PC interface
author heinrichsweikamp
date Sun, 16 Aug 2015 15:16:23 +0200
parents fcf3ae0fee6a
children 7faa688db105
comparison
equal deleted inserted replaced
367:20e2c68e9a04 368:57e349960ef4
1030 movff opt_vsitextv2, TXREG1 ; RCREG1=0x3F 1030 movff opt_vsitextv2, TXREG1 ; RCREG1=0x3F
1031 dcfsnz WREG 1031 dcfsnz WREG
1032 movff opt_vsigraph, TXREG1 ; RCREG1=0x40 1032 movff opt_vsigraph, TXREG1 ; RCREG1=0x40
1033 dcfsnz WREG 1033 dcfsnz WREG
1034 movff opt_showppo2, TXREG1 ; RCREG1=0x41 1034 movff opt_showppo2, TXREG1 ; RCREG1=0x41
1035 dcfsnz WREG
1036 movff opt_temperature_adjust, TXREG1 ; RCREG1=0x42
1035 1037
1036 1038
1037 comm_read_abort: 1039 comm_read_abort:
1038 comm_read_done: 1040 comm_read_done:
1039 bra comm_download_mode0 ; Done. Loop with timeout reset 1041 bra comm_download_mode0 ; Done. Loop with timeout reset
1319 movff RCREG1, opt_vsitextv2 ; RCREG1=0x3F 1321 movff RCREG1, opt_vsitextv2 ; RCREG1=0x3F
1320 dcfsnz WREG 1322 dcfsnz WREG
1321 movff RCREG1, opt_vsigraph ; RCREG1=0x40 1323 movff RCREG1, opt_vsigraph ; RCREG1=0x40
1322 dcfsnz WREG 1324 dcfsnz WREG
1323 movff RCREG1, opt_showppo2 ; RCREG1=0x41 1325 movff RCREG1, opt_showppo2 ; RCREG1=0x41
1326 dcfsnz WREG
1327 movff RCREG1, opt_temperature_adjust ; RCREG1=0x42
1324 1328
1325 1329
1326 comm_write_abort: 1330 comm_write_abort:
1327 ; Check Options, gases and diluents 1331 ; Check Options, gases and diluents
1328 call option_check_all ; Check all options (and reset if not within their min/max boundaries) 1332 call option_check_all ; Check all options (and reset if not within their min/max boundaries)