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
Hi, Kindly would you provide a better example using the bufferedSerial? I don't understand what your example code try to do..It doesn't contain any real RX/TX communication .. Only printf which is not exactly clear.. Would you make an example with Interrupt and clear reading/writing to the serial port. How about getting a file from serial port and putting it in a bigger buffer in your sample program? Thanks.