Serial was not declared

saitoib:
Or, where is it defined ?

Here:

Your post is extremely unclear but you should be aware that the Arduino IDE automatically adds the line:

#include <Arduino.h>

to every sketch prior to compilation.