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:
0:4ce7c0ce6a66
Child:
1:3d6dc580b565
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/OSCReceiver.h	Fri Dec 21 13:14:14 2012 +0000
@@ -0,0 +1,30 @@
+//-------------------------------------------------------------
+// KAMUI OSC-CV Example
+// file : OSCReceiver.h
+//   referred to xshige's OSCReceiver
+//   http://mbed.org/users/xshige/programs/OSCReceiver/
+// Copyright (C) 2012 RJB RadioJunkBox
+// Released under the MIT License: http://mbed.org/license/mit
+//-------------------------------------------------------------
+ 
+#ifndef MBED_OSCRECEIVER_H
+#define MBED_OSCRECEIVER_H
+ 
+union OSCarg {
+// char*, int and float are assumed four bytes
+        char *address;
+        char *typeTag;
+        int i;
+        float f;
+        char *s;
+        struct {
+            int len; // is "int i"
+            char *p;
+        } blob;
+        char m[4];  // for MIDI
+        char _b[4]; // endian conversion temp variable
+};
+ 
+void getOSCmsg(char *packet , union OSCarg *msg);
+ 
+#endif
\ No newline at end of file