cgnuino
Public Member Functions | List of all members
CgnControl Class Reference

Communicates with external control apprication running on the PC. More...

#include <cgnuino.h>

Public Member Functions

 CgnControl (char=10)
 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.
 

Detailed Description

Communicates with external control apprication running on the PC.

Constructor & Destructor Documentation

CgnControl::CgnControl ( char  e = 10)

Constructor.

Parameters
eEOL for serial inputs (by default \n).

Member Function Documentation

String CgnControl::update ( bool  decompose = true)

Checks the serial buffer for a new input line.

Parameters
decomposeWhether to decompose the input text (see Details of the class).

The documentation for this class was generated from the following files: