You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am in a need to just display a single color background on the whole monitor but in 1920X1080 resolution, the color can be hard coded to the firmware. But being a naïve in FabGL I need a help if someone can point me to the source code section where I can make this change. I can code a little in C & C++ and I think I can manage to follow basic code changes.
VGAController.setColor(RED); // e.g. VGAControler.setColor(WHITE);
}
void loop() {}
Once I set RED color (the last line in setup) the whole screen should go red, I am using TTGO VGA 1.4 but I believe I dont need to have more RAM to achieve 1920X1080 for this this since it is just a single color and it can be embedded into the firmware as a simgle variable instead of allocating space for framebuffers etc..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am in a need to just display a single color background on the whole monitor but in 1920X1080 resolution, the color can be hard coded to the firmware. But being a naïve in FabGL I need a help if someone can point me to the source code section where I can make this change. I can code a little in C & C++ and I think I can manage to follow basic code changes.
I want to accomplish something like this:
void setup()
{
VGAController.begin(VGA_RED1, VGA_RED0, VGA_GREEN1, VGA_GREEN0, VGA_BLUE1, VGA_BLUE0, VGA_HSYNC, VGA_VSYNC);
VGAController.setResolution(VGA_1920x1080_60Hz);
VGAController.setColor(RED); // e.g. VGAControler.setColor(WHITE);
}
void loop() {}
Once I set RED color (the last line in setup) the whole screen should go red, I am using TTGO VGA 1.4 but I believe I dont need to have more RAM to achieve 1920X1080 for this this since it is just a single color and it can be embedded into the firmware as a simgle variable instead of allocating space for framebuffers etc..
Please advice.
Thanks in advance!
Regards
Tej
Beta Was this translation helpful? Give feedback.
All reactions