Solo Controller Documentation 1.0
Documentation for the Solo Controller
 
Loading...
Searching...
No Matches
GrFont.cpp File Reference

Implements the GrFont class. More...

#include "GrFont.h"
#include "ErrMsg.h"

Functions

uint16_t rgb16to12 (uint16_t color16Bit)
 Function for converting 16-bit colors into the 12-bit color used by the TFT.
 

Detailed Description

Implements the GrFont class.

Function Documentation

◆ rgb16to12()

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.