serialEvent()
Description
Called when data is available. Use Serial.read()
to capture this data.
Syntax
All boards:
void serialEvent(){
//statements
}
void serialEvent1(){
//statements
}
86Duino One specific:
void serialEvent2(){
//statements
}
void serialEvent3(){
//statements
}
void serialEvent485(){
//statements
}
86Duino EduCake specific:
void serialEvent2(){
//statements
}
void serialEvent3(){
//statements
}
void serialEvent232(){
//statements
}
Parameters
statements
: any valid statements
See also
- SerialEvent Tutorial from the Arduino Examples
- Serial
- available()
- begin()
- end()
- find()
- findUntil()
- flush()
- parseFloat()
- parseInt()
- peek()
- print()
- println()
- read()
- readBytes()
- readBytesUntil()
- setTimeout()
- write()
The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.