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.h
- Revision:
- 0:6ee88b4152dc
diff -r 000000000000 -r 6ee88b4152dc DAQ/DummyDAQ.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/DAQ/DummyDAQ.h Wed Apr 23 11:10:26 2014 +0000 @@ -0,0 +1,24 @@ +#ifndef DUMMYDAQ_H +#define DUMMYDAQ_H + +#include "Measurement.h" + +class DummyDAQ +{ +public: + DummyDAQ(void); + ~DummyDAQ(void); + + //GETTERS + Measurement* measure(void); + int getChannelGain(int channel); + bool ChannelEnabled(int channel); + bool Initialized(void); + + //SETTERS + void setChannelGain(int channel,int gain); + void enableChannel(int channel); + void disableChannel(int channel); + void setInitialized(bool init); +}; +#endif \ No newline at end of file