Hello :
I bought Arduino UNO Keypad and LCD Shield.
I tried to see if codes displays messages but does not tell me neither "Hello."
I only listed one line above the LCD .
Codes I have tried and none give me answer. I want to know if the code is broken or the LCD .
Example 1 :
# include <LiquidCrystal.h>
LiquidCrystal milcd ( 12, 11 , 5, 4, 3 , 2) ;
smiley byte [ 8] = { B00000 , B10001 , B00000 , B00000 , B10001 , B01110 , B00000 } ;
void setup () {
milcd.createChar ( 0 , smiley );
milcd.begin ( 16 , 2) ;
milcd.write ( 0 ) ;
}
void loop () { }
Example 2 :
# include <LiquidCrystal.h>
LiquidCrystal milcd ( 12, 11 , 5, 4, 3 , 2) ;
void setup () {
milcd.begin (16.2) ;
milcd.print ("Hello" );
}
void loop () {
milcd.setCursor (0.1 ) ;
milcd.print ( millis () / 1000) ;
}
Example 3 :
# include <LiquidCrystal.h>
LiquidCrystal milcd ( 12, 11 , 5, 4, 3 , 2) ;
luzFondo int = 13 ;
void setup () {
pinMode ( luzFondo , OUTPUT) ;
digitalWrite ( luzFondo , HIGH);
lcd.begin (20.4) ;
Serial.begin ( 9600 ) ;
}
void loop () {
if ( Serial.available ()> 0) {
delay (100 );
lcd.clear ( ) ;
while ( Serial.available ()> 0) {
lcd.write ( Serial.read ());
}
}
}
Is there any solution ?
Best regards .
