Ok I've read alot on the forums and surfing the web to answer this question. How to I use double digits or even double letters from the serial monitor? For example a piece of code below:
Single quotes are used for single ints/chars and double quotes used for double ints/chars. How ever the serial monitor is only reading 1 byte at a time. How do I resolve this? Thanks!
while (Serial.available()) {
char c = Serial.read();
readString += c;
delay(2);
}
if (readString.length() >0) {
Serial.println(readString);
int n = readString.toInt();
PaulS:
Now, re-read the thread, put the crutches away, and do it without using the String class. It's just as easy to not piss away resources uselessly.
It would help if we had a link to the "how not to piss away resources uselessly" tutorial.