Revert tinygl_text API and add tinygl_draw_message
This commit is contained in:
@@ -29,7 +29,7 @@ static void show_num (char ch, uint8_t count)
|
||||
buffer[1] = count / 10 + '0';
|
||||
buffer[2] = count % 10 + '0';
|
||||
buffer[3] = 0;
|
||||
tinygl_text (buffer, tinygl_point (0, 0));
|
||||
tinygl_text (buffer);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ int main (void)
|
||||
tinygl_text_speed_set (MESSAGE_RATE);
|
||||
tinygl_text_mode_set (TINYGL_TEXT_MODE_SCROLL);
|
||||
|
||||
tinygl_text ("NUM?", tinygl_point (0, 0));
|
||||
tinygl_text ("NUM?");
|
||||
|
||||
pacer_init (LOOP_RATE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user