//-------------------------------------------------------------- void ofApp::onMessage( Spacebrew::Message & m ){ if ( m.name == "backgroundOn" ){ bBackgroundOn = m.valueBoolean(); } }
//-------------------------------------------------------------- void testApp::onMessage( Spacebrew::Message & m ){ if ( m.name == "datadisplay" ){ bSendSerialMessage = m.valueBoolean(); } }