LedController

Dependents:   LedControllerTests NerfUSTarget

Fork of Servomotor by NerfUS

Committer:
dupm2216
Date:
Sun Mar 05 18:52:04 2017 +0000
Revision:
4:6f0756847428
Child:
5:7e27c8b08acd
Initial commit for LedController

Who changed what in which revision?

UserRevisionLine numberNew contents of line
dupm2216 4:6f0756847428 1 #ifndef LED_CONTROLLER_HPP
dupm2216 4:6f0756847428 2 #define LED_CONTROLLER_HPP
dupm2216 4:6f0756847428 3
dupm2216 4:6f0756847428 4 #include "DigitalOutInterface.hpp"
dupm2216 4:6f0756847428 5
dupm2216 4:6f0756847428 6 class LedController
dupm2216 4:6f0756847428 7 {
dupm2216 4:6f0756847428 8 public:
dupm2216 4:6f0756847428 9 LedController(DigitalOutInterface &digital_out);
dupm2216 4:6f0756847428 10 virtual void turn_on();
dupm2216 4:6f0756847428 11 virtual void turn_off();
dupm2216 4:6f0756847428 12
dupm2216 4:6f0756847428 13 private:
dupm2216 4:6f0756847428 14 DigitalOutInterface &digital_out;
dupm2216 4:6f0756847428 15 };
dupm2216 4:6f0756847428 16
dupm2216 4:6f0756847428 17 #endif