mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-17 22:23:10 +03:00
Corrected error in variable declaration for example StringLength
This commit is contained in:
@ -10,7 +10,7 @@
|
|||||||
This example code is in the public domain.
|
This example code is in the public domain.
|
||||||
*/
|
*/
|
||||||
String txtMsg = ""; // a string for incoming text
|
String txtMsg = ""; // a string for incoming text
|
||||||
int lastStringLength = txtString.length(); //previous lenngth of the String
|
int lastStringLength = txtMsg.length(); // previous length of the String
|
||||||
|
|
||||||
void setup() {
|
void setup() {
|
||||||
// open the serial port:
|
// open the serial port:
|
||||||
|
Reference in New Issue
Block a user