Tutorial 06 for Arduino: Serial Communication and Processing

Опубликовано: 30 Сентябрь 2024
на канале: Jeremy Blum
855,089
6.6k

Serial.flush() has changed in Arduino 1.0. You can use this instead:
while(Serial.available()[GREATER-THAN]0)
{
Serial.read();
}

You can download the parts list, code, and schematics from this episode on my website:
http://jeremyblum.com/2011/02/07/ardu...

Submit your arduino project to element14's arduino contest for a chance to win a soldering station:    • Arduino Contest Announcement and Elec...  

This tutorial series is sponsored by element14. Check out their arduino group!
http://www.element-14.com/community/g...

Follow me on twitter:   / sciguy14