1
µTasker general / Different UARTs for send and recieve
« on: April 27, 2008, 06:48:06 PM »
Hey Mark,
I've checked through the documentation but haven't been able to find the answer to whether or not there is an easy way to use a different UART channel for sending and receiving.
With the default implementation, it looks like both use the SerialPortID which gets set to DEMO_UART in fnSetNewSerialMode.
It looks as if I will have to create a new SerialPortID using a different channel, that way I will have one for input and one for output.
Then I will have to replace all references to SerialPortID that are used in reads with SerialPortIDIn and all that are used in outs with SerialPortIDOut.
Is there an easier way to do this?
Thanks,
Jesse
I've checked through the documentation but haven't been able to find the answer to whether or not there is an easy way to use a different UART channel for sending and receiving.
With the default implementation, it looks like both use the SerialPortID which gets set to DEMO_UART in fnSetNewSerialMode.
It looks as if I will have to create a new SerialPortID using a different channel, that way I will have one for input and one for output.
Then I will have to replace all references to SerialPortID that are used in reads with SerialPortIDIn and all that are used in outs with SerialPortIDOut.
Is there an easier way to do this?
Thanks,
Jesse