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.
DAQ.h
- Committer:
- leysenkobe
- Date:
- 2014-04-30
- Revision:
- 2:ea7eb499a27a
- Parent:
- 0:88f8e80dc5fd
File content as of revision 2:ea7eb499a27a:
#ifndef DAQ_H #define DAQ_H //INCLUDES #include "Channel.h" #include "Multiplexer.h" #include "Amplifier.h" #include "ADC.h" #include "Measurement.h" class DAQ { private: Channel **channels; Multiplexer *multiplexer; Amplifier *amplifier; ADC *adc; bool initialized; public: DAQ(void); ~DAQ(void); //GETTERS Measurement* measure(void); int getChannelGain(int channel); bool ChannelEnabled(int channel); bool ChannelsDisabled(); bool Initialized(void); //SETTERS void setChannelGain(int channel,int gain); void enableChannel(int channel); void disableChannel(int channel); void setInitialized(bool init); }; #endif