mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-13 10:29:35 +01:00
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…
x
Reference in New Issue
Block a user