Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NetServices TextLCD mbed
OSCReceiver.h
00001 //------------------------------------------------------------- 00002 // KAMUI OSC-CV Example 00003 // file : OSCReceiver.h 00004 // referred to xshige's OSCReceiver 00005 // http://mbed.org/users/xshige/programs/OSCReceiver/ 00006 // Copyright (C) 2012 RJB RadioJunkBox 00007 // Released under the MIT License: http://mbed.org/license/mit 00008 //------------------------------------------------------------- 00009 00010 #ifndef MBED_OSCRECEIVER_H 00011 #define MBED_OSCRECEIVER_H 00012 00013 union OSCarg { 00014 // char*, int and float are assumed four bytes 00015 char *address; 00016 char *typeTag; 00017 int i; 00018 float f; 00019 char *s; 00020 struct { 00021 int len; // is "int i" 00022 char *p; 00023 } blob; 00024 char m[4]; // for MIDI 00025 char _b[4]; // endian conversion temp variable 00026 }; 00027 00028 void getOSCmsg(char *packet , union OSCarg *msg); 00029 00030 #endif
Generated on Tue Jul 12 2022 17:52:31 by
1.7.2