Re: 2nd UART with Sming
Posted: Tue Dec 08, 2015 2:47 pm
Piperpilot,
Although there in indeed "HardwareSerial::HardwareSerial(const int uartPort)" in HardwareSerial, the actual implementation does NOT have the required code to use multiple Uarts.
It will need serious adding/rewriting in interrupt/receive and writing code.
It can be placed on the enhancement list for Sming, but then we would also need someone to implement.
May you and @festlv can work together on this. I know festlv has knowledge of uart code as he fixed an out of bounds error in there recently.
Herman
Although there in indeed "HardwareSerial::HardwareSerial(const int uartPort)" in HardwareSerial, the actual implementation does NOT have the required code to use multiple Uarts.
It will need serious adding/rewriting in interrupt/receive and writing code.
It can be placed on the enhancement list for Sming, but then we would also need someone to implement.
May you and @festlv can work together on this. I know festlv has knowledge of uart code as he fixed an out of bounds error in there recently.
Herman