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
498 B

/* class LED for manage BBB leds
* Daniel Llamas 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 void TurnOn();
virtual void TurnOff();
virtual void blink();
virtual ~CLED(); //class deconstructor
};
#endif