gfvalvo:
Once you fix the brackets, you need to define your variables 'pos' and 'myservo'.
jbellavance:
Shouldn't I see#include <Servo.h>
Servo myservo;
somewhere? Jacques
Thanks to both of you. I fixed the brackets and defined variables and now is everything working! ![]()