LedController

Dependents:   LedControllerTests NerfUSTarget

Fork of Servomotor by NerfUS

include/LedController.hpp

Committer:
dupm2216
Date:
2017-03-08
Revision:
5:7e27c8b08acd
Parent:
4:6f0756847428

File content as of revision 5:7e27c8b08acd:

#ifndef LED_CONTROLLER_HPP
#define LED_CONTROLLER_HPP

#include "DigitalOutInterface.hpp"
#include "LedControllerInterface.hpp"

class LedController : public LedControllerInterface
{
    public:
        LedController(DigitalOutInterface &digital_out);
        virtual void turn_on();
        virtual void turn_off();
    
    private:
        DigitalOutInterface &digital_out;
};

#endif