1
0
mirror of https://github.com/meekrosoft/fff synced 2026-01-29 03:04:27 +01:00

Removed src base directory

This commit is contained in:
Mike Long
2011-01-01 20:13:33 +01:00
parent 64c57b015d
commit 71c66bfa3a
11 changed files with 28 additions and 25 deletions

35
examples/embedded.c Normal file
View File

@@ -0,0 +1,35 @@
void DISPLAY_init();
void DISPLAY_clear();
int DISPLAY_get_line_capacity();
int DISPLAY_get_line_insert_index();
void DISPLAY_output_message(char * message);
unsigned char DISPLAY_get_pixel(unsigned int x, unsigned int y);
void UI_init()
{
DISPLAY_init();
}
void UI_greet(char * name)
{
if(DISPLAY_get_line_capacity() == DISPLAY_get_line_insert_index())
{
DISPLAY_clear();
}
DISPLAY_output_message(name);
}
void UI_greet_multiple_times(char * name, int times)
{
int i;
for(i = 0; i < times; i++)
{
UI_greet(name);
}
}