  */
 
 
+// forward declaration for morse.h
+void sendError(const char *message);
+
+
 ////////////////////////////////////////////////////////////////////////////////
 
 // send and receive messages using Bluetooth/Amarino as opposed to plain serial


// a simple mode for a mocked-up video demo
#define DEMO


////////////////////////////////////////////////////////////////////////////////

#include <MeetAndroid.h>

// needed for registerFunction
MeetAndroid meetAndroid;

const char ack = 19;
const char startFlag = 18;
//const char abord = 27;


////////////////////////////////////////////////////////////////////////////////


////////////////////////////////////////////////////////////////////////////////

void sendError(const char *message) {
    OSCMessage m("/exo/tt/error");
    m.add(message);

    sendOSC(m);
}

void sendInfo(const char *message) {
    OSCMessage m("/exo/tt/info");
    m.add(message);

    sendOSC(m);
}

void sendKeyEvent(const char *keys) {
    OSCMessage m("/exo/tt/keys");
    m.add(keys);

