Servo does not name a type

hello,

I have a code that i built last year that worked just fine. THis year i am trying to edit the code to make it wireless, however when i go to verify it on the computer (different computer) it is giving me an error ‘servo’ does not name a type

#include <Servo.h>

Servo TailServo;

Servo GillServo;

those are the first three lines of my code that worked just fine last year… i am very confused. please help!!!

Sounds like your compiler/etc can’t find the Servo library. Since it’s on a new PC, how sure are you that all the files are in the right places ?

Isn’t Arduino case-sensitive: Servo!=servo

See if there is somewhere ‘servo’ in your code. I think the errormessage also shows the line number where it detects the fault.