Jared Baxter
/
Impedance_Fast_Circuitry
Fork of DSP_200kHz by
Diff: main.cpp
- Revision:
- 29:e6309316c35d
- Parent:
- 28:4a833d59897b
- Child:
- 30:6a4ef939a93e
--- a/main.cpp Sun Dec 07 00:56:20 2014 +0000 +++ b/main.cpp Tue Dec 09 16:36:50 2014 +0000 @@ -37,7 +37,7 @@ // Analog sampling #define MAX_FADC 6000000 -#define SAMPLING_RATE 20 // In microseconds, so 10 us will be a sampling rate of 100 kHz +#define SAMPLING_RATE 10 // In microseconds, so 10 us will be a sampling rate of 100 kHz #define TOTAL_SAMPLES 30000 // originally 30000 for 0.3 ms of sampling. #define LAST_SAMPLE_INDEX (TOTAL_SAMPLES-1) // If sampling time is 25 us, then 2000 corresponds to 50 ms