Name

gfx_draw_string — displays a string in the glcd

Synopsis

#include <gfx.h>   
void gfx_draw_string (x,  
 y,  
 str,  
 color); 
uint8_t x;
uint8_t y;
char * str;
uint8_t color;
 

Arguments

x

the x co-ordinate of the pixel

y

the y co-ordinate of the pixel

str

the string to be displayed

color

the color to set

Description

Displays the the given string in the specified location. The change is not visible till gfx_update is called.