1The header name is not the library’s header name
A letter too many, a missing underscore or the wrong capitals all give this error. Windows and most Macs ignore capitals in file names and Linux does not, so a sketch can build on one machine and fail on another. Copy the name from the library, or from its example.
#include <Servos.h>
Servo gate;
void setup() {
Serial.begin(9600);
gate.attach(9);
Serial.println("servo ready");
}
void loop() {
}#include <Servo.h>
Servo gate;
void setup() {
Serial.begin(9600);
gate.attach(9);
Serial.println("servo ready");
}
void loop() {
}Mokxi’s build tab says: Mokxi has no Servos.h, and ships Servo.h, one or two letters away: if that is the library you mean, write #include <Servo.h>.