Learning classes...
Dependencies: C12832
Diff: Stoperica.h
- Revision:
- 0:2fab4c84205a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Stoperica.h Wed Feb 03 15:29:46 2016 +0000 @@ -0,0 +1,18 @@ +#ifndef STOPERICA_H +#define STOPERICA_H + +#include "mbed.h" +#include "C12832.h" + +class Stoperica { + public: + Stoperica(PinName startPin, PinName stopPin); + private: + InterruptIn start, stop; + C12832 lcd; + Timer debounceStart, debounceStop, passedTime; + void startPressed(); + void stopPressed(); +}; + +#endif \ No newline at end of file