LedController
Dependents: LedControllerTests NerfUSTarget
Fork of Servomotor by
Diff: include/LedController.hpp
- Revision:
- 4:6f0756847428
- Child:
- 5:7e27c8b08acd
diff -r 239eb7c8755a -r 6f0756847428 include/LedController.hpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/include/LedController.hpp Sun Mar 05 18:52:04 2017 +0000 @@ -0,0 +1,17 @@ +#ifndef LED_CONTROLLER_HPP +#define LED_CONTROLLER_HPP + +#include "DigitalOutInterface.hpp" + +class LedController +{ + public: + LedController(DigitalOutInterface &digital_out); + virtual void turn_on(); + virtual void turn_off(); + + private: + DigitalOutInterface &digital_out; +}; + +#endif \ No newline at end of file