Skip to content

Commit

Permalink
use of VGA16Controller in place of VGAController
Browse files Browse the repository at this point in the history
  • Loading branch information
fdivitto committed Aug 4, 2020
1 parent 7b95cc6 commit c376fa3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions examples/VGA/SimpleTerminalOut/SimpleTerminalOut.ino
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,16 @@



fabgl::VGAController DisplayController;
fabgl::Terminal Terminal;
fabgl::VGA16Controller DisplayController;
fabgl::Terminal Terminal;


void setup()
{
//Serial.begin(115200); delay(500); Serial.write("\n\n\n"); // DEBUG ONLY

DisplayController.begin();
DisplayController.setResolution(VGA_640x350_70HzAlt1);
//DisplayController.setResolution(VGA_640x240_60Hz); // select to have more free memory
DisplayController.setResolution(VGA_640x480_60Hz);

Terminal.begin(&DisplayController);
Terminal.setLogStream(Serial); // DEBUG ONLY
Expand Down Expand Up @@ -208,5 +207,4 @@ void loop()
demo4();
delay(4000);
demo5();
delay(4000);
}

0 comments on commit c376fa3

Please sign in to comment.