mirror of https://github.com/noisymime/Arduino.git
Merge pull request #3203 from agdl/SerialEventFix
Added missing function call to serialEvent example
This commit is contained in:
commit
2e1696f9f4
|
@ -28,6 +28,7 @@ void setup() {
|
|||
}
|
||||
|
||||
void loop() {
|
||||
serialEvent(); //call the function
|
||||
// print the string when a newline arrives:
|
||||
if (stringComplete) {
|
||||
Serial.println(inputString);
|
||||
|
|
Loading…
Reference in New Issue