Exemplo n.º 1
0
void tinyG::onSerialError(const ofx::IO::SerialBufferErrorEventArgs& args)
{
    // Errors and their corresponding buffer (if any) will show up here.
    SerialMessage message(args.getBuffer().toString(),
                          args.getException().displayText(),
                          1000);
}
Exemplo n.º 2
0
void ofApp::onSerialError(const ofx::IO::SerialBufferErrorEventArgs& args)
{
    // Errors and their corresponding buffer (if any) will show up here.
    SerialMessage message(args.getBuffer().toString(),
                          args.getException().displayText(),
                          500);
    
    serialMessages.push_back(message);
    ofLogNotice("onSerialError") << "got serial error : " << message.exception;
}
Exemplo n.º 3
0
void chladniRC::onSerialError(const ofx::IO::SerialBufferErrorEventArgs& args){
	// Errors and their corresponding buffer (if any) will show up here.
	string message(args.getException().displayText());
	//serialMessages.push_back(message);
}