Wiring library

Hello, I wanted to use Servo.h library, but it need wiring.h and I cannot find it anywhere. Full error text:

In file included from sketch_aug22a.ino:1:0:
/home/kwarc/sketchbook/libraries/Servo/Servo.h:5:20: fatal error: wiring.h: Nie ma takiego pliku ani katalogu
#include <wiring.h>
^
compilation terminated.

That error indicates an ancient version of the Servo library. There is an up to date Servo library included with the Arduino IDE which I would highly recommend you to use. Please try:
Move the folder /home/kwarc/sketchbook/libraries/Servo out of /home/kwarc/sketchbook/libraries
Restart the IDE if it's running.
Try your code again.

If for some reason you do need to use that antique Servo library then you can fix it by changing line 5 of the file /home/kwarc/sketchbook/libraries/Servo/Servo.h from:

#include <wiring.h>

to:

#include <Arduino.h>

Thanks, that really works :wink: