39 SerialCom(
string portName,
long baudeRate,
int dataSize,
char parityType,
float nStopBits );
44 void publishError(
string message);
49 void publishSucces(
string message);
60 static SerialCom* initialize(
string portName,
long baudeRate,
int dataSize,
char parityType,
float nStopBits);
65 void write(
char* message);
74 bool newMessageAvailable();
78 string* getLastMessage();
is responsable for the serial communication between PC-application and the Arduino Uno
Definition: SerialCom.h:25
ceSerial serial
Object which holds the ceSerial communication class.
Definition: SerialCom.h:27
string lastMessage
last serial message
Definition: SerialCom.h:29
static SerialCom * instance
pointer to the current used instance
Definition: SerialCom.h:31
string line
string of all characters in the serial message
Definition: SerialCom.h:28
bool newMessage
new message available flag
Definition: SerialCom.h:30