-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Create a class that implements Serial port and Serial Listener. This class should pass along any data received once a new line character is read.
For the call BufferedSerialPort.onSerialData("Hello"); no listeners would be notified. For the subsequent call BufferedSerialPort.onSerialData(" World\n"); each listener would be notified with the message "Hello World\n" (include the newline character).
For the call BufferedSerialPort.onSerialData("Hello\nWorld\n"); the listeners should be notified twice. The first time with "Hello\n" and the second time with "World\n");
Metadata
Metadata
Assignees
Labels
No labels