documentation added : :s60:
// example Led class
class Led{
private:
byte pin;
public:
// c'tor
Led(){this->pin = 13;}
// c'tor with param
Led(byte pin){
this->pin = pin;
}
// cls methods
void init(){
pinMode(pin, OUTPUT);
}
void on(){
digitalWrite(pin, HIGH);
}
void off(){...