MOVED: Error in code

This topic has been moved to Programming Questions. Wrong section http://forum.arduino.cc/index.php?topic=229184.0