Test code for a Gameduino 2 using using the Se Hui Park library. Just does hello world. Note, you need an external PSU for the display
main.cpp
- Committer:
- jont
- Date:
- 2015-03-06
- Revision:
- 0:e06836b3baab
File content as of revision 0:e06836b3baab:
#include "mbed.h" #include "GD2.h" DigitalOut myled(LED1); GDClass GD(p5,p6,p7,p9,p8); int main() { GD.begin(0x00 | GD_CALIBRATE); // GD.ClearColorRGB(0x103000); // GD.Clear(); // GD.cmd_text(240, 136, 31, OPT_CENTER, "Hello world"); //GD.swap(); }