cerr
Joined: 10 Feb 2011 Posts: 241 Location: Vancouver, BC
|
Pull Tx low? |
Posted: Fri Mar 11, 2011 5:39 pm |
|
|
Hi There,
I would like to pull low the Tx of my RS232 USART to signal the other PIC that it should enter into the bootloader mode but I don't know how to get this done, I declared the rs232 port like this: Code: | #use rs232(baud=9600,parity=N,xmit=PIN_G1,rcv=PIN_G2,stream=MCU1) |
and tried this to pull down Tx which didn't work... :(
Code: | output_low(PIN_G1); |
Any suggestions on how i could solve this? Should I, Can I switch off the RS232 USART while my app is running, I reset the other MCU and once it has entered the bootloader mode, I'd switch on the rs232 interface to send out the data.
Thanks |
|