Mercurial > public > hwos_code
diff src/eeprom_rs232.asm @ 218:8fbd8c5ac51f
1.71beta start
author | heinrichsweikamp |
---|---|
date | Fri, 19 Dec 2014 17:56:40 +0100 |
parents | 56276a2418f9 |
children | 5a4801918be9 |
line wrap: on
line diff
--- a/src/eeprom_rs232.asm Wed Dec 17 14:46:45 2014 +0100 +++ b/src/eeprom_rs232.asm Fri Dec 19 17:56:40 2014 +0100 @@ -153,6 +153,7 @@ movlw T2CON_NORMAL cpfseq T2CON bra enable_rs232_2 ; Wait until speed is normal + bcf PORTE,0 ; Start comms ;init serial port1 (TRISC6/7) movlw b'00100100' ; BRGH=1, SYNC=0 movwf TXSTA1 @@ -165,6 +166,7 @@ clrf RCSTA1 clrf TXSTA1 ; UART disable bcf PORTC,6 ; TX hard to GND + bsf PORTE,0 ; Stop comms return global rs232_wait_tx