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.
Dependencies: DAQ mbed-rtos mbed
Diff: DAQ/DummyDAQ.cpp
- Revision:
- 2:7f7eb0cc78a4
- Parent:
- 1:fa51edf89e71
--- a/DAQ/DummyDAQ.cpp Thu Apr 24 10:39:09 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,56 +0,0 @@ -#include "DummyDAQ.h" -#include "mbed.h" - -//Constructor en Destructor -DummyDAQ::DummyDAQ(void) -{ - -} -DummyDAQ::~DummyDAQ(void) -{ - -} - -//GETTERS -Measurement* DummyDAQ::measure(void) -{ - Measurement *measurement = new Measurement(); - - //measurement vullen met valse data - for (int i = 0; i < 16; i++) - { - measurement->Enable(i); - measurement->setPunt(i,i+1); - } - return measurement; -} -int DummyDAQ::getChannelGain(int channel) -{ - return 1000; -} -bool DummyDAQ::ChannelEnabled(int channel) -{ - return true; -} -bool DummyDAQ::Initialized(void) -{ - return true; -} - -//SETTERS -void DummyDAQ::setChannelGain(int channel,int gain) -{ - -} -void DummyDAQ::enableChannel(int channel) -{ - -} -void DummyDAQ::disableChannel(int channel) -{ - -} -void DummyDAQ::setInitialized(bool init) -{ - -} \ No newline at end of file