[Serial]
説明
Called when data is available. Use Serial.read()
to capture this data.
構文
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 }
媒介変数
statements
: any valid statements
See also
- SerialEvent Tutorial from the Arduino Examples
- if (Serial)
- available()
- begin()
- end()
- find()
- findUntil()
- flush()
- parseFloat()
- parseInt()
- peek()
- print()
- println()
- read()
- readBytes()
- readBytesUntil()
- setTimeout()
- write()
Language Reference Home
86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。