FabGL
ESP32 Display Controller and Graphics Library
|
|
inherited |
This is the 8 colors (5 GPIOs) initializer.
One GPIO per channel, plus horizontal and vertical sync signals.
redGPIO | GPIO to use for red channel. |
greenGPIO | GPIO to use for green channel. |
blueGPIO | GPIO to use for blue channel. |
HSyncGPIO | GPIO to use for horizontal sync signal. |
VSyncGPIO | GPIO to use for vertical sync signal. |
Example:
// Use GPIO 22 for red, GPIO 19 for green, GPIO 5 for blue, GPIO 23 for HSync and GPIO 15 for VSync VGAController.begin(GPIO_NUM_22, GPIO_NUM_19, GPIO_NUM_5, GPIO_NUM_23, GPIO_NUM_15);
Definition at line 82 of file vgabasecontroller.cpp.