Communicates with external control apprication running on the PC.
More...
#include <cgnuino.h>
|
| CgnSerial (char=10, char=9) |
| Constructor. More...
|
|
String | update (bool=true) |
| Checks the serial buffer for a new input line. More...
|
|
int | getCode () |
| Shows decomposed code for the last serial input.
|
|
String | getValue () |
| Shows decomposed value for the last serial input.
|
|
void | append (String) |
| Appends a new value to output buffer. More...
|
|
void | out () |
| Emits buffered text to serial output.
|
|
void | clear () |
| Clears existing output buffer.
|
|
Communicates with external control apprication running on the PC.
CgnSerial::CgnSerial |
( |
char |
e = 10 , |
|
|
char |
s = 9 |
|
) |
| |
Constructor.
- Parameters
-
e | EOL for serial inputs (by default \n). |
s | Separator for serial outputs (by default \t). |
void CgnSerial::append |
( |
String |
s | ) |
|
Appends a new value to output buffer.
- Parameters
-
String CgnSerial::update |
( |
bool |
decompose = true | ) |
|
Checks the serial buffer for a new input line.
- Parameters
-
decompose | Whether to decompose the input text (see Details of the class). |
The documentation for this class was generated from the following files: