2015-11-07 04:07:14 +08:00
|
|
|
|
|
|
|
#include "u8x8.h"
|
|
|
|
|
|
|
|
u8x8_t u8x8;
|
|
|
|
|
|
|
|
|
|
|
|
int main(void)
|
|
|
|
{
|
|
|
|
u8x8_Setup_TGA_DESC(&u8x8);
|
2015-12-07 06:22:52 +08:00
|
|
|
u8x8_InitDisplay(&u8x8);
|
2015-12-08 04:34:49 +08:00
|
|
|
u8x8_SetPowerSave(&u8x8, 0);
|
2015-11-07 04:07:14 +08:00
|
|
|
|
2016-04-16 18:45:00 +08:00
|
|
|
u8x8_SetFont(&u8x8, u8x8_font_amstrad_cpc_extended_r );
|
2015-12-17 15:33:23 +08:00
|
|
|
u8x8_DrawString(&u8x8, 0, 0, "Hello World!");
|
2015-11-07 04:07:14 +08:00
|
|
|
|
|
|
|
tga_save("u8x8.tga");
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|