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
Diff: main.cpp
- Revision:
- 0:e06836b3baab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Mar 06 09:20:39 2015 +0000 @@ -0,0 +1,12 @@ +#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(); + +}