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.
Diff: Amplifier.h
- Revision:
- 0:88f8e80dc5fd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Amplifier.h Wed Mar 19 10:29:32 2014 +0000 @@ -0,0 +1,23 @@ +#ifndef AMPLIFIER_H +#define AMPLIFIER_H + +class Amplifier +{ +private: + bool enable; + int amplification; + +public: + Amplifier(void); + ~Amplifier(void); + + //GETTERS + bool Enabled(void); + int getAmplification(void); + + //SETTERS + void setAmplification(int newAmplification); + void Enable(void); + void Disable(void); +}; +#endif \ No newline at end of file