FabGL
ESP32 VGA Controller and Graphics Library
Toggle main menu visibility
Main Page
Related Pages
Modules
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
File Members
All
b
d
f
g
h
i
n
o
p
q
r
s
t
u
v
w
x
y
Functions
Variables
Macros
f
o
p
q
s
t
v
Examples
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
GraphicalUserInterface/GraphicalUserInterface.ino
Graphical User Interface - GUI demo
/*
Created by Fabrizio Di Vittorio (fdivitto2013@gmail.com) - www.fabgl.com
Copyright (c) 2019 Fabrizio Di Vittorio.
All rights reserved.
This file is part of FabGL Library.
FabGL is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
FabGL is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FabGL. If not, see <http://www.gnu.org/licenses/>.
*/
#include "
fabgl.h
"
#include "
fabui.h
"
#include "App.h"
void
setup()
{
PS2Controller.
begin
(PS2Preset::KeyboardPort0_MousePort1, KbdMode::GenerateVirtualKeys);
VGAController.
begin
();
VGAController.
setResolution
(
VGA_640x350_70HzAlt1
);
// adjust this to center screen in your monitor
//VGAController.moveScreen(-6, 0);
}
void
loop()
{
MyApp().run();
}
Generated by
1.8.14