Corrected error in variable declaration for example StringLength

This commit is contained in:
Tom Igoe 2010-08-10 19:33:52 +00:00
parent 0ecc7b031e
commit fb5eb1f3fd
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
This example code is in the public domain.
*/
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() {
// open the serial port: