protofuse Posted March 19, 2010 Report Share Posted March 19, 2010 I'm adding the final part on my protodeck controller: a nice white over blue LCD. it is a 2x20. where should I declare the type of LCD? its size etc ? MIOS_LCD_TypeSet and other C functions are ok for me to use, but where? I didn't figure out that. I'm sorry for this n00b question (I guess) all the best, Quote Link to comment Share on other sites More sharing options...
findbuddha Posted March 19, 2010 Report Share Posted March 19, 2010 I am also n00b, but I have noticed there are some examples in SVN: http://svnmios.midibox.org/listing.php?repname=svn.mios&path=%2Ftrunk%2Fapps%2Fexamples%2Flcd7%2F Hope they help :) Quote Link to comment Share on other sites More sharing options...
protofuse Posted March 19, 2010 Author Report Share Posted March 19, 2010 I am also n00b, but I have noticed there are some examples in SVN: http://svnmios.midib...mples%2Flcd7%2F Hope they help :) hello, it helps. but should I put special files in my apps folders? in my MIOS_base folders ? Quote Link to comment Share on other sites More sharing options...
julienvoirin Posted March 20, 2010 Report Share Posted March 20, 2010 hello, it helps. but should I put special files in my apps folders? in my MIOS_base folders ? NO if it is an Hitachi driver compatible character LCD, you don't need to do anything as it is default LCD in MIOS any C code must refer to the following section of main.c ///////////////////////////////////////////////////////////////////////////// // This function is called by MIOS when the display content should be // initialized. Thats the case during startup and after a temporary message // has been printed on the screen ///////////////////////////////////////////////////////////////////////////// void DISPLAY_Init(void) __wparam { MIOS_LCD_Clear(); MIOS_LCD_CursorSet(0x00); MIOS_LCD_PrintCString("Hello World!"); } ///////////////////////////////////////////////////////////////////////////// // This function is called in the mainloop when no temporary message is shown // on screen. Print the realtime messages here ///////////////////////////////////////////////////////////////////////////// void DISPLAY_Tick(void) __wparam { } Quote Link to comment Share on other sites More sharing options...
protofuse Posted March 20, 2010 Author Report Share Posted March 20, 2010 NO if it is an Hitachi driver compatible character LCD, you don't need to do anything as it is default LCD in MIOS it answered. Quote Link to comment Share on other sites More sharing options...
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.