Hello there!
so i followed the hello world tutorial(https://www.arduino.cc/en/Tutorial/LibraryExamples/HelloWorld) but i cant get text on my lcd. The backlight with pot meter works just fine, just no text. I also looked at some other threads that had a similar problem like mine but that also didn't work for me. I'm using Arduino Uno with 1602A LCD screen. Anyone got any ideas?
Code:
#include <LiquidCrystal.h>
const int rs = 12, en = 11, d4 = 7, d5 = 6, d6 = 5, d7 = 4; // define pins as letters for convenience
int val;
LiquidCrystal lcd(rs, en, d4, d5, d6, d7); // bind pins
void setup() {
lcd.begin (16,2); // collums * rows
lcd.print ("Hello world!"); //print "Hello world!"
}
void loop() {
lcd.setCursor(0,1); //set cursor to first collum, second row
lcd.print(millis() /1000); //counts time till last reset (bracket after 'millis' is neccesary)
delay(1000);
}