mirror of https://github.com/noisymime/Arduino.git
Corrected error in variable declaration for example StringLength
This commit is contained in:
parent
0ecc7b031e
commit
fb5eb1f3fd
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue