C/C++ header file with some useful macros for outputting colors and font formatting on terminals such as Linux console and Putty. These macros can be used in console applications or integrated in to microcontrollers to give your application more style!

Simple set of macros takes 0 bytes of RAM and 1 function call to printf() per macro.
 • Colors: Black, red, green, yellow, blue, magenta, cyan, gray, white
 • Foreground colors
 • Background colors
 • Bold
 • Underline ...

Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided articles on embedded development to gain critical knowledge in new systems and speed up development.
Files size: 5.76 KB
RAM usage:0 bytes
Avg Flash:~32 bytes per call
Source #1 - Members Only
Source #2 - Members Only