I'm stuck need help with code

so im trying to write a code for a home project and i’ve written it p 3 times and cant seem to get it im self taught and only started 4 days ago, but I have a basic understanding of what most commands do…

so Im trying to use and lcd display a 16 charecter X 2 line LCD

I need to write a code that will display a count down from 59 min to 0 min

and repeat that 9 times

along with that, on a different section of the display the 9 needs to be shown and I need it to decrease by 1 one the time reaches 0

plese if you are willing to tell me how do i write it to display a count down on screen with hrs:min
what i typed up i dont know how so i just didnt even try

im tying to figure out if I can write it like this or if i need to configure the lcd to read and write (Digital or analog idk) to allow it to use the variable

what im understanding is if there are “” around the text it cant be changed Because it has no value

#include <LiquidCrystal.h>

LiguidCrystal lcd (12, 11, 5 , 4, 3, 2,)

unsigned long start;
unsigned long current;
const unsigned long period =59000

void setup ()

start() = Millis();

int a = 59
int b = 1
lcd.print=(“59”)

void Loop()
current = millis();
if (current - start >= period);

lcd.print((“59”)=a-b) // basically the idea is that when the period of 1 hr is over it should
change(decrease)
the text the lcd prints by a value of 1 and the lcd will display it
}
{
if lcd.print== (“0”)
Lcd.print ( “8” )

and I know i need to set the curser to change the text location
but I honestly dont know how to do this…

I have looked at some countdown/ timer codes posted online but they are all Greek to me because i dont understand how certain terms can act as functions/ variables when they arent listed as such in the referances on the arduino site

Alec_Borden:
I have looked at some countdown/ timer codes posted online but they are all Greek to me because i dont understand how certain terms can act as functions/ variables when they arent listed as such in the referances on the arduino site

You really need to start at the beginning.

Beginners guide to arduino

and have a look at the Built-In Examples

Yours,
TonyWilk

P.S. Anyone: there must be a decent "beginners guide to programming an Arduino" somewhere ?

P.S. Anyone: there must be a decent "beginners guide to programming an Arduino" somewhere ?

The material by Jeremy Blum is very good.

You have MANY errors with the code as you have written it but to get you on the path,
You should have another variable
int c = 0;

In setup you need to define the LCD (columns and rows) This example is 8 columns 2 rows:

lcd.begin(8, 2);
c=a;

In the loop

do the math
c=c-b

When you print to LCD you should set your cursor position

lcd.setCursor(0, 0);
lcd.print(c);

Alec_Borden:

LiguidCrystal lcd  (12, 11, 5 , 4, 3, 2,)

At the very least you should make sure your code compiles before posting it here. That's three errors in a single line.
Also please use code tags when posting code (like I just did around that one line).