# teraterm font color change

#### ep.hobbyiest

Joined Aug 26, 2014
159
Hi,
i was trying to change font color based on serial input.
Is there any command which can do this, so that command can be send serially?
I googled but didn't help much.

Joined Jan 15, 2015
5,604
First you need a serial emulator which will do color. TeraTerm will do color. I used the following code with Arduino to see what would happen and it seems to work.

Code:
void setup()
{
Serial.begin(9600);
}

void loop()
{
Serial.println("\033[1;32mbold green text\033[0m plain text\n");
Serial.println("\033[1;34msmso blue text\033[0m plain text\n");

Serial.println("HELLO");
delay(1000); //Send every one second
}
The data for:
Serial.println("\033[1;32mbold green text\033[0m plain text\n");
Serial.println("\033[1;34msmso blue text\033[0m plain text\n");

I got from here. That should get you started and is about all I know as to a way to go about it. I tried it using an Arduino Uno and TeraTerm and it works for me. You may want to play around with what's in the link.

Ron

#### ep.hobbyiest

Joined Aug 26, 2014
159
Thanks it is working fine..