mess Posted August 25, 2006 Report Posted August 25, 2006 MIOS_LCD_PrintPreconfString C_DECLARATION void MIOS_LCD_PrintPreconfString(unsigned char len, code char *str) DESCRIPTION prints a preconfigured string C_IN Pointer to String in <str> Stringlength in <len> C_EXAMPLE // defined somewhere *outside* the function! const unsigned char text_welcome_0[] = { "Hello World!" }; // within the function: print string MIOS_LCD_CursorSet(0x00 + 0); MIOS_LCD_[b]PrintString[/b](12, text_welcome_0); // please see also the MIOS_LCD_PrintCString function! I think this should be // within the function: print string MIOS_LCD_CursorSet(0x00 + 0); MIOS_LCD_[b]PrintPreconfString[/b](12, text_welcome_0); ?I tried this example but instead of displaying hello world I get 12 times the play symbol (first character of special char set) MIOS_LCD_PrintCString does work as expected... Quote
TK. Posted August 26, 2006 Report Posted August 26, 2006 Yes, it's a typing errorI tried this example but instead of displaying hello world I get 12 times the play symbolso, you get this with MIOS_LCD_PrintPreconfString? Then there is an error in the wrapper as wellBest Regards, Thorsten. Quote
mess Posted August 27, 2006 Author Report Posted August 27, 2006 yes, I just tried with an empty skeleton,I replaced the MIOS_LCD_PrintCString with PrintPreConfigString(with the text_welcome_0[] declared in main.c) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.