11 years ago.

Answer for using EthernetInterface with RTOS and Serial interrupt

There is a solution for this.

You can fix your code of reading part from current to that.

Current: unsigned char RX_Char = (devicename).getc();

that: unsigned char RX_Char; RX_Char = LPC_UART2->RBR; (LPC_UART2 -> (p28, 27))

If you want to other pin header, you can find the LPC_UART(number) matched pin header you want to use.

Best reagrds.

1 Answer

11 years ago.

RawSerial has been introduced to deal with this problem. Just replace Serial with RawSerial and it should work.

Accepted Answer