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

read

Reads the next byte from the device. This will return EOF, the end of file marker, if there are no characters available - otherwise it will return the next byte.
Syntax
Stream. read()
 
Parameters
None
Returns
int
Example
Receive the next character from standard input and echo it back to standard output:
int ch = cin.read();
if(ch != EOF){
    cout.write(ch);
}
See Also
write

 

 

Valid XHTML 1.0 Transitional