mirror of
https://github.com/arduino/Arduino.git
synced 2025-03-14 11:29:26 +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() {
|
void loop() {
|
||||||
|
serialEvent(); //call the function
|
||||||
// print the string when a newline arrives:
|
// print the string when a newline arrives:
|
||||||
if (stringComplete) {
|
if (stringComplete) {
|
||||||
Serial.println(inputString);
|
Serial.println(inputString);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user