You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
KED/drivers/led/led.hpp

23 lines
272 B

#ifndef __LED_HPP
#define __LED_HPP
// TODO : Change Cmake to include "pin.hpp"
#include "../../bsl/csl/interfaces/pin.hpp"
class Led
{
public:
Led(Pin& pin);
~Led();
void on();
void off();
void toggle();
private:
Pin& pin;
};
#endif /* __LED_HPP */