Tutorial 06 for Arduino: Serial Communication and Processing
141 بار بازدید -
7 سال پیش
-
Serial.flush() has changed in Arduino
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/arduino-tutorial-6-serial-communication-and-processing
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.
7 سال پیش
در تاریخ 1396/03/30 منتشر شده
است.
141
بـار بازدید شده