Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

arduino empty serial buffer

  while(Serial.available() > 0) {
    char t = Serial.read();
  }
 
PREVIOUS NEXT
Tagged: #arduino #empty #serial #buffer
ADD COMMENT
Topic
Name
8+2 =