1
0
mirror of https://github.com/arduino/Arduino.git synced 2025-01-18 07:52:14 +01:00

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

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: