serialEvent()

[Serial]

説明

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


Language Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール