-void
-ao_demo(void)
-{
- char message[] = "Hello, Mike & Bdale --- ";
- char part[7];
- int i = 0;
- int len = sizeof(message) - 1;
- int first, second;
-
- part[6] = '\0';
- for (;;) {
- ao_delay(AO_MS_TO_TICKS(150));
- first = min(6, len - i);
- second = 6 - first;
- memcpy(part, message + i, first);
- memcpy(part + first, message, second);
- ao_lcd_font_string(part);
- if (++i >= len)
- i = 0;
- }
-}
-
-void _close() { }
-void _sbrk() { }
-void _isatty() { }
-void _lseek() { }
-void _exit () { }
-void _read () { }
-void _fstat() { }