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.
Fork of Impedance_Fast_Circuitry by
Diff: main.cpp
- Revision:
- 52:5a40cc58c4c2
- Parent:
- 51:43143a3fc2d7
- Child:
- 53:83a90a47c1fd
diff -r 43143a3fc2d7 -r 5a40cc58c4c2 main.cpp --- 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[];