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.
 
 

25 lines
517 B

/* class LED for manage BBB leds
* Gustavo Mart�nez Mondrag�n 14/03/2022*/
#ifndef LED_H
#define LED_H
#include<iostream>
#include<fstream>
#include<string>
#include<sstream>
class CLED{
private:
std::string path;
int ledNumber;
virtual void WriteLED(std::string filename, std::string value);
virtual void RemoveTrigger();
public:
CLED(int ledNumber); //class creator
virtual ~CLED(); //class deconstructor
virtual void TurnOn();
virtual void TurnOff();
virtual void BlinkLED();
};
#endif