2x20 LCD

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,

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 :slight_smile:

I am also n00b, but I have noticed there are some examples in SVN: http://svnmios.midib…mples%2Flcd7%2F

Hope they help :slight_smile:

hello,

it helps.

but should I put special files in my apps folders? in my MIOS_base folders ?

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

{

}

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.