Kentarou Shimatani
/
Theremi
action recognizer with theremin
Diff: main.h
- Revision:
- 0:b9ac53c439ed
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.h Wed Sep 14 13:42:46 2011 +0000 @@ -0,0 +1,26 @@ + +/* + * main.h + * Theremin + * + * Created by peccu on 11/09/13. + * Copyright 2011 __MyCompanyName__. All rights reserved. + * + */ + +#include <iostream> +#include "mbed.h" + +#ifndef _INC_MAIN +#define _INC_MAIN + +#define EPSILON 0.001 +#define READSIZE 30000 +// 10000 = 7secs +// 7150 = 5secs +#define THRESHOLD 1000 +#define DIVISION 2 + +#define SAVE + +#endif \ No newline at end of file