BopIt on the mbed

Dependencies:   SDFileSystem mbed wave_player

Revision:
0:d30842e497f7
diff -r 000000000000 -r d30842e497f7 bobit.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bobit.h	Thu Oct 17 19:58:54 2013 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+#include "SDFileSystem.h"
+#include "wave_player.h"
+
+
+//lights for guiding player
+DigitalOut led1(LED1);
+DigitalOut led2(LED2); 
+DigitalOut led3(LED3); 
+DigitalOut led4(LED4); 
+
+//noises for guiding player 
+SDFileSystem sd(p5, p6, p7, p8, "sd"); //SD card
+AnalogOut speaks(p18);
+wave_player wplays(&speaks);
+
+//slider 
+AnalogIn slide(p15); 
+//dial 
+AnalogIn twist(p16); 
+//Motion
+AnalogIn swipe(p19);
+//boop 
+DigitalIn boop(p21); 
+ //function 
+ int chSig(int val, float sli, float twi); 
\ No newline at end of file