![](/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:
- 29:fcfcb31a6362
- Parent:
- 1:fe2d4530da1b
- Child:
- 31:647771325538
diff -r 463533ca610a -r fcfcb31a6362 Codes/Capture.cpp --- a/Codes/Capture.cpp Fri Mar 27 21:09:39 2015 +0000 +++ b/Codes/Capture.cpp Tue Apr 28 14:19:03 2015 +0000 @@ -75,6 +75,14 @@ } } +void Capture::CopyBufferSigned(int channel, short int *dest) +{ + for(int i=0;i<NUMBER_OF_SAMPLES;i++) + { + dest[i] = GetValue(i,channel); + } +} + //DMA ISR signals the capture thread about the end of capture event extern "C" void DMA_IRQHandler(void) {