Mercurial > public > hwos_code
comparison src/eeprom_rs232.asm @ 200:dcd513840c6c
cleanup
author | heinrichsweikamp |
---|---|
date | Wed, 12 Nov 2014 19:33:15 +0100 |
parents | c511dc403d7e |
children | 93085f540746 |
comparison
equal
deleted
inserted
replaced
199:800f09c9089c | 200:dcd513840c6c |
---|---|
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 c3_hardware | 86 btfsc cr_hardware |
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 |