11 years, 2 months ago.

PROBLEM WITH SERVO.H

I cant compile it, appears this error:

"Undefined symbol Servo::Servo(PinName) (referred from main.cpp.o)." in file "/"

What can i do?

thanks a lot!

Question relating to:

1 Answer

11 years, 2 months ago.

I don't understand why you get that error, it should be target not recognized. I see you have a KL25Z. The program is from before they were available, so click on the mbed library in the program, then click on update. You also need to change the pin you are using.