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:
- 74:ebc9f09fda11
- Parent:
- 73:b059b5bdc664
- Child:
- 75:8bb94685c80b
--- a/main.cpp Wed May 31 22:02:56 2017 +0000 +++ b/main.cpp Thu Jun 01 22:12:31 2017 +0000 @@ -12,6 +12,7 @@ #define PRINT_BUFFER_LENGTH 10000 #define GATHER_STATISTICS 1 + // for debug purposes Serial pc(USBTX, USBRX); DigitalOut led_red(LED_RED); @@ -139,7 +140,7 @@ dac_init(); // initializes DAC adc_init(); // always initialize adc before dma pc.printf("ADC Initialized\r\n"); - dma_init(); // initializes DMAs + dma_init2(); // initializes DMAs dma_reset(); // This clears any DMA triggers that may have gotten things into a different state pc.printf("Buffer Size: %i\r\n", len);