Implements the GrFont class. More...
Functions | |
| uint16_t | rgb16to12 (uint16_t color16Bit) |
| Function for converting 16-bit colors into the 12-bit color used by the TFT. | |
Implements the GrFont class.
| uint16_t rgb16to12 | ( | uint16_t | color16Bit | ) |
Function for converting 16-bit colors into the 12-bit color used by the TFT.
The 12-bit color format uses 4-bits for the alpha channel, red, green, and blue. This function sets the alpha value to 0.