![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Versão limpa em 04/09/2014. Telnet funcionando.
Dependencies: EthernetInterface mbed-rtos mbed NTPClient
Diff: Codes/Capture.cpp
- Revision:
- 31:647771325538
- Parent:
- 29:fcfcb31a6362
- Child:
- 37:51fed2a3e009
diff -r 9bf44d2785d5 -r 647771325538 Codes/Capture.cpp --- a/Codes/Capture.cpp Tue Apr 28 14:38:37 2015 +0000 +++ b/Codes/Capture.cpp Fri May 01 14:46:08 2015 +0000 @@ -83,6 +83,14 @@ } } +void Capture::CopyBufferFloat(int channel, float *dest) +{ + for(int i=0;i<NUMBER_OF_SAMPLES;i++) + { + dest[i] = (float) GetValue(i,channel); + } +} + //DMA ISR signals the capture thread about the end of capture event extern "C" void DMA_IRQHandler(void) {