FabGL
ESP32 VGA Controller and Graphics Library

◆ getBitsPerChannel()

uint8_t fabgl::VGAControllerClass::getBitsPerChannel ( )
inline

Get number of bits allocated for each channel.

Number of bits depends by which begin() initializer has been called.

Returns
1 (8 colors) or 2 (64 colors).