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() {
|
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…
Reference in New Issue