James Bowman 25269fc95e First reorg, new directory examples/ | 6 年之前 | |
---|---|---|
converted-assets | 6 年之前 | |
examples | 6 年之前 | |
prep-chip8 | 8 年之前 | |
scripts | 6 年之前 | |
sdcard | 6 年之前 | |
transports | 6 年之前 | |
.gitignore | 6 年之前 | |
GD2.cpp | 6 年之前 | |
GD2.h | 6 年之前 | |
LICENSE | 9 年之前 | |
README.md | 6 年之前 | |
apitest.ino | 6 年之前 | |
ard | 6 年之前 | |
bringup0.ino | 6 年之前 | |
checkout | 8 年之前 | |
chip8.ino | 8 年之前 | |
circular.ino | 6 年之前 | |
dht.ino | 6 年之前 | |
examples.ino | 9 年之前 | |
fonts.ino | 9 年之前 | |
formats.ino | 9 年之前 | |
glow.ino | 9 年之前 | |
ili9488.ino | 6 年之前 | |
invaders.ino | 8 年之前 | |
jpeg2.ino | 9 年之前 | |
keywords.txt | 9 年之前 | |
lines.ino | 9 年之前 | |
mk_bsod.py | 9 年之前 | |
publish | 6 年之前 | |
publish.py | 6 年之前 | |
tempest.ino | 9 年之前 | |
tut-bitmaps.ino | 6 年之前 | |
version | 6 年之前 | |
welcome.ino | 6 年之前 |
This is the source repository of the GD library - the software side of the Gameduino project. The installation library and instructions are at:
To build the release library Gameduino2.zip
run:
python publish.py
How do I use GD with an 800x480 display?
After calling GD.begin()
you can set the scanout registers for 800x480 like this:
GD.wr16(vc.REG_HCYCLE, 928);
GD.wr16(vc.REG_HOFFSET, 88);
GD.wr16(vc.REG_HSIZE, 800);
GD.wr16(vc.REG_HSYNC0, 0);
GD.wr16(vc.REG_HSYNC1, 48);
GD.wr16(vc.REG_VCYCLE, 525);
GD.wr16(vc.REG_VOFFSET, 32);
GD.wr16(vc.REG_VSIZE, 480);
GD.wr16(vc.REG_VSYNC0, 0);
GD.wr16(vc.REG_VSYNC1, 3);
GD.wr16(vc.REG_CSPREAD, 1);
GD.wr16(vc.REG_DITHER, 1);
GD.wr16(vc.REG_PCLK_POL, 0);
GD.wr16(vc.REG_PCLK, 4);
How do I use GD with an 320x480 display?
There is a writeup here: http://excamera.com/sphinx/article-ili9488.html
How do I change the select pin assignments?
For the GPU select, modify #define CS
at the start of transports/wiring.h
For the microSD select, modify #define SD_PIN
at the start of GD2.cpp