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
Revision 0:e06836b3baab, committed 2015-03-06
- Comitter:
- jont
- Date:
- Fri Mar 06 09:20:39 2015 +0000
- Commit message:
- First test version
Changed in this revision
diff -r 000000000000 -r e06836b3baab Gameduino2.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Gameduino2.lib Fri Mar 06 09:20:39 2015 +0000 @@ -0,0 +1,1 @@ +http://developer.mbed.org/users/aluqard/code/Gameduino2/#9c211972beb2
diff -r 000000000000 -r e06836b3baab main.cpp --- /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(); + +}
diff -r 000000000000 -r e06836b3baab mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Mar 06 09:20:39 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/7e07b6fb45cf \ No newline at end of file