|
Post by powersoft on Dec 17, 2016 18:23:45 GMT -8
Hello,
Found this code in a thread. What is the meaning of "COMICSANS_HANDLE" ? I found it not defined in the code!
Thanks for any help.
#include <EEPROM.h> #include <SPI.h> #include <GD2.h> #include "fontdemo_assets.h"
void setup() { GD.begin(0); LOAD_ASSETS(); }
void loop() { GD.ClearColorRGB(0x103000); GD.Clear(); GD.cmd_text(240, 136, COMICSANS_HANDLE, OPT_CENTER, "Hello world in Comic Sans MS"); GD.cmd_button(160, 200, 160, 40, COMICSANS_HANDLE, 0, "Press me!"); GD.swap(); }
|
|