#define SPRITES_SIZE 16 #define SCREEN_SIZE_X 320 #define SCREEN_SIZE_Y 240 #define SCREEN_SPRITES_X (SCREEN_SIZE_X / SPRITES_SIZE) /* 20 */ #define SCREEN_SPRITES_Y (SCREEN_SIZE_Y / SPRITES_SIZE) /* 15 */ void print_text(int8_t xpos, int8_t ypos, const char *text); void print_number(int8_t xpos, int8_t ypos, uint16_t value);