diff options
Diffstat (limited to 'uisimulator/win32/main.cpp')
-rw-r--r-- | uisimulator/win32/main.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/uisimulator/win32/main.cpp b/uisimulator/win32/main.cpp new file mode 100644 index 0000000000..7c3c66f967 --- /dev/null +++ b/uisimulator/win32/main.cpp | |||
@@ -0,0 +1,29 @@ | |||
1 | #include "uisw32.h" | ||
2 | #include "lcd-win32.h" | ||
3 | |||
4 | #define FS 6 | ||
5 | |||
6 | int main (void) | ||
7 | { | ||
8 | int x; | ||
9 | lcd_init (); | ||
10 | |||
11 | while (1) | ||
12 | { | ||
13 | for (x = 0; x < 10; x++) | ||
14 | { | ||
15 | lcd_clear_display (); | ||
16 | lcd_position (x, 12, FS); | ||
17 | lcd_string ("Hello World!"); | ||
18 | lcd_position (x, 32, FS); | ||
19 | lcd_string ("From the"); | ||
20 | lcd_position (x, 40, FS); | ||
21 | lcd_string (" Open Source "); | ||
22 | lcd_position (x, 48, FS); | ||
23 | lcd_string ("Jukebox Project"); | ||
24 | lcd_update (); | ||
25 | } | ||
26 | } | ||
27 | |||
28 | return 0; | ||
29 | } \ No newline at end of file | ||