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: Control/Controller/Controller.h
- Revision:
- 20:6fbf1f50abda
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Control/Controller/Controller.h Mon May 30 07:19:34 2016 +0000 @@ -0,0 +1,16 @@ +#ifndef _INC_Controller +#define _INC_Controller +#include "mbed.h" + + +class Controller { + AnalogIn controller; + bool isInversed; + +public: + Controller(PinName p); + void inverse(); + float read(); +}; + +#endif \ No newline at end of file