From 65119636de18a7bf71c3f0a120f6c299b843e9c3 Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Tue, 11 Oct 2011 21:54:50 +0000 Subject: [PATCH] Use step mode for display --- apps/ir_uart_test3/ir_uart_test3.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/ir_uart_test3/ir_uart_test3.c b/apps/ir_uart_test3/ir_uart_test3.c index 18ae809..a98512f 100644 --- a/apps/ir_uart_test3/ir_uart_test3.c +++ b/apps/ir_uart_test3/ir_uart_test3.c @@ -41,7 +41,7 @@ int main (void) tinygl_init (LOOP_RATE); tinygl_font_set (&font3x5_1); tinygl_text_speed_set (MESSAGE_RATE); - tinygl_text_mode_set (TINYGL_TEXT_MODE_SCROLL); + tinygl_text_mode_set (TINYGL_TEXT_MODE_STEP); tinygl_text_dir_set (TINYGL_TEXT_DIR_ROTATE); navswitch_init (); @@ -88,6 +88,10 @@ int main (void) uint8_t data; data = ir_uart_getc (); + + /* Note, if messages come in too fast, say due to IR + inteference from fluorescent lights, then the display + will not keep up and will appear to freeze. */ show_byte (data); } }