Dependencies:   mbed-dsp mbed

Fork of DSP_200kHz by Mazzeo Research Group

Revision:
52:5a40cc58c4c2
Parent:
51:43143a3fc2d7
Child:
53:83a90a47c1fd
--- a/main.cpp	Sat Jan 31 20:17:58 2015 +0000
+++ b/main.cpp	Sat Jan 31 20:56:04 2015 +0000
@@ -1,9 +1,11 @@
 #include "mbed.h"
 
+// Sampling
+#include "Sample/adc.h"
+#include "Sample/pdb.h"
+#include "Sample/quad.h"
+
 #include "AngleEncoder.h"
-#include "adc.h"
-#include "pdb.h"
-#include "quad.h"
 
 // for debug purposes
 Serial pc(USBTX, USBRX);
@@ -15,6 +17,7 @@
 
 AngleEncoder angle_encoder(PTD2, PTD3, PTD1, PTD0, 8, 0, 1000000); // mosi, miso, sclk, cs, bit_width, mode, hz
 
+// defined in dma.cpp
 extern int len;
 extern uint16_t sample_array0[];
 extern uint16_t sample_array1[];