diff options
| author | bzztbomb <skinny@knowhere.net> | 2010-04-15 12:13:53 -0700 |
|---|---|---|
| committer | bzztbomb <skinny@knowhere.net> | 2010-04-15 12:13:53 -0700 |
| commit | cc23a46941106a6515b3fe958daba0f3a1551883 (patch) | |
| tree | 280dad14cdb4c8c806e212c8c143f25e652338ba /Libraries/OSC/OSCcommon.h | |
Initial commit of working OSC parsing over Wifi
Diffstat (limited to 'Libraries/OSC/OSCcommon.h')
| -rw-r--r-- | Libraries/OSC/OSCcommon.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/Libraries/OSC/OSCcommon.h b/Libraries/OSC/OSCcommon.h new file mode 100644 index 0000000..443cf86 --- /dev/null +++ b/Libraries/OSC/OSCcommon.h @@ -0,0 +1,60 @@ +/* + + ArdOSC - OSC Library for Arduino. + + -------- Lisence ----------------------------------------------------------- + + ArdOSC + + The MIT License + + Copyright (c) 2009 - 2010 recotana( http://recotana.com ) All right reserved + + */ + + + +#ifndef OSCcommon_h +#define OSCcommon_h + +//======== user define ============== + +//#define _DEBUG_ + +#define _USE_FLOAT_ +#define _USE_STRING_ + + + +//======== user define end ======== + +#define kMaxAugument 16 + +#define kMaxRecieveData 100 +#define kMaxOSCAdrCharactor 255 +#define kMaxStringCharactor 255 + + + +extern "C" { +#include <inttypes.h> +} + + +#ifdef _DEBUG_ +#include "HardwareSerial.h" +#endif + +#ifdef _DEBUG_ +#define DBG_LOGLN(...) Serial.println(__VA_ARGS__) +#define DBG_LOG(...) Serial.print(__VA_ARGS__) + +#else +#define DBG_LOGLN +#define DBG_LOG +#endif + + + + +#endif
\ No newline at end of file |
