mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Merge pull request #3203 from agdl/SerialEventFix
Added missing function call to serialEvent example
This commit is contained in:
@ -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);
|
||||||
|
Reference in New Issue
Block a user