ardublock
ardublock copied to clipboard
Unable to Serial.print '\t' character
Is there a way to print a TAB character? Placing a \t inside the the Serial.print block results in a Serial.print("\t");
I don't understand what would be wrong with that?
From the Arduino reference...
Serial.print("\t"); // prints a tab
Ah. OK. I see what you mean. In fact it adds Serial.print("\t"); ---- with an extra ****.
It would be easy to add something like ret = ret.replaceAll("<&tab>", "\t"); to MessageBlock.java but it starts to look a bit clunky with all the <&tab>, <¬hing>, <&space> "special characters".
Hopefully someone has a better idea?