Inherit from Serial and use software buffers for TX and RX. This allows the UART peripherals to operate in a IRQ driven mode. Overrides most (but not all) stdio functions as Serial did

Dependencies:   Buffer

Dependents:   buffered_serial_test BLE_Police_HRM evena_BLE_Police_HRM df-2014-workshop-rfid-case-generator-k64f ... more

Issue: Not working with LPCXpresso1549 (Closed: Fixed)

It is not working with LPCXpresso1549 but working with LPCXpresso11U68.

The program just halts. When I use Serial instead of BufferedSerial it is working. Probably something is wrong with interrupt handling and not BufferedSerial issue at all. But I'd appreciate some feedback while I'll try to solve it myself.

Example program

2 comments:

06 Sep 2014

I don't have a LPC1549 but will try to get one and test too. If you find the problem first please send a pull request.

05 Apr 2015

I created an issue and submitted a pull request https://github.com/mbedmicro/mbed/issues/1013

Thank you for your library :)