tbsnake
Joined: 17 Jun 2004 Posts: 3
|
Two UART problem - one software, one hardware |
Posted: Sat Jul 22, 2006 1:47 pm |
|
|
I am trying to use the HW uart on 18F2620 to communicate with a gps, and a SW uart to communicate with a radio. They are on different lines , c6 and c7 for HW and B4 B5 for SW.
My question pertains to the setup_uart function. What is the best way to implement this? Can I use file stream identifiers if one of them is a Hw UART? If I do it this way should I call setup_uart(true); once, then just use the identifiers, or do I need to disable and reenable the uart? |
|