comparison src/eeprom_rs232.asm @ 236:e2ea74646127

configure hardware_flag byte
author heinrichsweikamp
date Wed, 25 Feb 2015 22:19:30 +0100
parents 23311219dacc
children 653a3ab08062
comparison
equal deleted inserted replaced
235:23311219dacc 236:e2ea74646127
81 return 81 return
82 82
83 global enable_ir_s8 83 global enable_ir_s8
84 enable_ir_s8: 84 enable_ir_s8:
85 ;init serial port2 (TRISG2) 85 ;init serial port2 (TRISG2)
86 btfsc rechargeable 86 btfsc analog_o2_input
87 bra enable_s8 ; Start S8 87 bra enable_s8 ; Start S8
88 88
89 banksel BAUDCON2 89 banksel BAUDCON2
90 movlw b'00100000' ; BRG16=0 ; inverted for IR 90 movlw b'00100000' ; BRG16=0 ; inverted for IR
91 movwf BAUDCON2 91 movwf BAUDCON2