LiquidCrystal lcd(2, 3, 4, 5, 11, 12);
And this should be (12, 11, 5, 4, 3, 2) according to the wiring in the photo (best that I can tell).
Almost all of the LCD tutorials have the wiring of the contrast pot wrong. It is a mistake that has been perpetuated through the years. The right way is to wire the one end of the pot to ground and the wiper to LCD pin 3 (V0). The other end of the pot is left disconnected. So the pot is a variable resistor. Actually I find that a 1K fixed resistor from ground to Vo gives me satisfactory contrast on virtually every LCD that I have tried.
void loop() {
lcd.print("Hello");
{ // this is an opening bracket, needs a closing bracket }
That loop will just spam the display. Move the lcd.print to setup so that it just prints once.
Please edit your post, select all code and click the </> button to apply code tags and next save your post. It makes it easier to read, easier to copy and prevents the forum software from incorrect interpretation of the code.
Hi! Thanks for taking the time to respond but I think I'm just gonna stop with the screen because I am very new to Arduino and have only learnt how to wire up a light and sevo, I should probably learn Arduino before attempting these things.