int myVar = 2;System.out.println("My variable is: "+myVar);
That only works if your string never changes in length and the integer value is between 0 and 9, is that what you wanted?
Serial.print("My variable is: ");Serial.println(myVar);
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16