xshige & Radio Junk Box's OSCReceiver modded version(#define INPUT_PORT >> extern) http://mbed.org/users/radiojunkbox/code/KAMUI_OSC-CV_Example/ http://mbed.org/users/xshige/programs/OSCReceiver/

Dependents:   OSCtoCVConverter

Revision:
2:6dab18e1eb37
Parent:
1:3d6dc580b565
diff -r 3d6dc580b565 -r 6dab18e1eb37 OSCReceiver.h
--- a/OSCReceiver.h	Sat Mar 23 11:15:37 2013 +0000
+++ b/OSCReceiver.h	Thu Oct 16 14:12:42 2014 +0000
@@ -6,14 +6,17 @@
 // Copyright (C) 2012 RJB RadioJunkBox
 // Released under the MIT License: http://mbed.org/license/mit
 //-------------------------------------------------------------
+
+#pragma O3
+#pragma Otime 
  
 #ifndef MBED_OSCRECEIVER_H
 #define MBED_OSCRECEIVER_H
  
 union OSCarg {
 // char*, int and float are assumed four bytes
-        char *address;
-        char *typeTag;
+        const char *address;
+        const char *typeTag;
         int i;
         float f;
         char *s;
@@ -25,6 +28,6 @@
         char _b[4]; // endian conversion temp variable
 };
  
-int getOSCmsg(char *packet , union OSCarg *msg);
+int getOSCmsg(const char *packet , union OSCarg *msg);
  
 #endif
\ No newline at end of file