WebbotLib AVR library
WebbotLib It just does it
  C++ documentation  C documentation

isRxBufferEmpty

Tests if the receive buffer is empty.
Return TRUE if it is empty or FALSE if it contains at least one byte.
Syntax
Uart. isRxBufferEmpty()
 
Parameters
None
Returns
boolean
Example
if(myUart.isRxBufferEmpty()){
    // We have no data to process. So do other things....
}else{
    // We have data to process so start reading it in
}

 

 

Valid XHTML 1.0 Transitional