Hello,
I am wondering is there a way to Serial.Print something in different color, say in red? Would be very handy to highlight some printed values in different color for better grasp.
thanks.
Hello,
I am wondering is there a way to Serial.Print something in different color, say in red? Would be very handy to highlight some printed values in different color for better grasp.
thanks.
Sure. Use a "real" terminal emulator like TeraTerm, and use ANSI sequences to set the colours.
Not possible with standard Arduino IDE?
gv445:
Not possible with standard Arduino IDE?
It's possible to develop the software with the standard Arduino IDE, but you cannot use the "serial monitor" from the Arduino IDE to display green text on red background.
You will have to use a "serial terminal software" instead, which has a "VT52" or "VT100" terminal emulation buit-in.
When using Windows possibly Realterm.
So for testing your color settings for possibly red text on yellow background, do not start the "serial terminal", start "Realterm" after you uploaded the sketch!