Guten Abend,
habe einen Arduino Uno und mir letzte woche eine LCD Dot Matrix bei Reichelt bestellt.
LCD-162C-BL + Anschlüsse zum anlöten etc.
Alles wie in vielen Internetbeispielen auf meinem Board angeschlossen und das einzige was ich sehe ist, das die erste Zeile nur aus schwarzen Kästen besteht, deren Kontrast ich ändern kann. Die zweite Zeile besteht aus auch aus schwarzen Kästen deren Kontrast sich nicht ändern lässt.
Lötstellen alle überprüft und alle Kontakte durchgemessen. Ist es kaputt? Hoffe Ihr könnt mir weiterhelfen
Das ist das Beispiel Programm:
#include <LiquidCrystal.h>
// Connections:
// rs (LCD pin 4) to Arduino pin 12
// rw (LCD pin 5) to Arduino pin 11
// enable (LCD pin 6) to Arduino pin 10
// LCD pin 15 to Arduino pin 13
// LCD pins d4, d5, d6, d7 to Arduino pins 5, 4, 3, 2
LiquidCrystal lcd(12, 11, 10, 5, 4, 3, 2);
int backLight = 13; // pin 13 will control the backlight
void setup()
{
pinMode(backLight, OUTPUT);
digitalWrite(backLight, HIGH); // turn backlight on. Replace 'HIGH' with 'LOW' to turn it off.
lcd.begin(16,2); // columns, rows. use 16,2 for a 16x2 LCD, etc.
lcd.clear(); // start with a blank screen
lcd.setCursor(0,0); // set cursor to column 0, row 0 (the first row)
lcd.print("Hello, World"); // change this text to whatever you like. keep it clean.
lcd.setCursor(0,1); // set cursor to column 0, row 1
lcd.print("hacktronics.com");
// if you have a 4 row LCD, uncomment these lines to write to the bottom rows
// and change the lcd.begin() statement above.
//lcd.setCursor(0,2); // set cursor to column 0, row 2
//lcd.print("Row 3");
//lcd.setCursor(0,3); // set cursor to column 0, row 3
//lcd.print("Row 4");
}
void loop()
{
}