When booting the PicoCalc, the serial port shows green lettering. Any time there’s an error, though, the foreground color reverts to white. I know the color can be changed in the code but where? The default color is already green but after any error or certain other functions, there it is, back to white. How can I get only green characters to show all the time?
Can you give us an example of this?
I just tried this on my PicoCalc but my text stays green. I just did a couple of things I knew would create an error. Ex:
files "c:
? mm.booga()
Both give me an “Error: …” but the text stays green.
Running version 6.0002
Which serial terminal or terminal program are you using? For me, the PicoCalc screen stays green but any color serial terminal or terminal program (TeraTerm and PuTTY in my case) I attach to COM1 or COM2 turns white.
Would ANSI escape codes solve your problem? I dont have my picocalc yet so I’m not sure if this is what you’re looking for.
Green Text “\033[32m”
Black BG “\033[40m”
Reset “\033[0m”
I’d have to do that after every error. The firmware resets the color to white automatically so I was hoping to find out where that’s done so I can change it to green instead. This affects VGA, HDMI and serial I/O but not the LCD of the PicoCalc. I have a color terminal hooked to PicoCalc and it drives me crazy having to reset it to green manually every time.