Essayes ça: #include "Servo.h" .
Ici
Robot::Robot()
{
servo.attach(PIN_SERVO);
...
}
Tu es certain de ta constante "PIN_SERVO" ?
Elle est où ?
Peut être le mettre plutôt en paramètres constructeur non, c'est pas très dynamique sinon ?
Robot::Robot(byte pinServo)
{
servo.attach(pinServo);
...
}
Robot robert(PIN_SERVO);