LelloGi:
The compilation gives me this error:
Arduino:1.7.7 (Windows XP), Scheda:"Arduino Uno"
collect2.exe: error: ld returned 5 exit status
Newer versions of the Arduino-IDE can produce such linker errors when using Windows XP, which is an operating system version that was released in October 2001.
Two easy possibilities:
1.) Use a newer version of Windows, perhaps Windows 7.
2.) Use an older version of the Arduino-IDE, perhaps Arduino 1.0.5
Or google the error, it is very common with Windows XP, and several people found workarounds, that at least work in some cases.