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:
parent
0ecc7b031e
commit
fb5eb1f3fd
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user