including libraries.. into libraries

ok, that's weird. it looks so redundant :confused:

however, thanks a lot! can i ask you a little bit of help?

i've just added this code:

// menuPrint
// stampa il menĂ¹ sul display
// submenu: id del menu da stampare
// sel: id della voce da evidenziare
void menuPrint(byte submenu, byte sel)
{
byte screen_line = 0;
byte i;
String titolo;

lcd.clear();
lcd.setCursor(0, screen_line);
for(i=0; i<menu_lenght; i++)
{
if(menu*.id == submenu)*

  • {*
    _ titolo=menu*.str;_
    _
    titolo.toUpperCase();_
    _
    lcd.print(titolo);_
    screen_line++;
    _
    }*_

if(menu*.id_par == submenu)
_ {
if(menu.id == sel)
{_

lcd.setCursor(0, screen_line);
_ lcd.write(1);
lcd.print(" ");
lcd.print(menu.str);
}
else*

* {_
lcd.setCursor(2, screen_line);
_ lcd.print(menu.str);
}_

screen_line++;
_ }
}
}
[/quote]*

to my menuLCD.cpp file, just after the constructor declaration (see the code posted above). when trying to compile, it says that "lcd was not declared in this scope" (on the line lcd.clear();). then i thought "that's ok, it's because the "lcd" is declared into the constructor, allowing me only to use it as long as my constructor is running". so i put the "LiquidCrystal lcd;" in the .h file, among the other variables declarations, but then the compiler says : 'LiquidCrystal' does not name a type.
i have no idea of how to initialize the screen (my lcd variable) in order to use it in all my other methods._