Serial.flush() has changed in Arduino 1.0. You can use this instead:
You can download the parts list, code, and schematics from this episode on my website:
Submit your arduino project to element14’s arduino contest for a chance to win a soldering station: http://www.youtube.com/watch?v=P5QpyIaycFo
This tutorial series is sponsored by element14. Check out their arduino group!
Follow me on twitter: http://www.twitter.com/sciguy14
Duration : 0:20:0