yes!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
it works!
class Led{
private:
byte pin;
public:
Led(){this->pin = 13;}
Led(byte pin){
this->pin = pin;
}
void init(){
pinMode(pin, OUTPUT);
}
void on(){
digitalWrite(pin, HIGH);
}
void off(){
digitalWrite(pin, LOW);
}
};
class Skill {...