Good evening,
I am hoping someone can point me in the correct direction. I am starting to write a program for a scoring system.
What I want to do is ask a question on a 16 x 2 LCD screen with an Arduino Uno, the question will read "How many laps?". The user will then select the up or down button to choose the correct number of laps, this will be based around the simple Count++ function which I am fine with.
Further on in the programme I want them to be able to select the lap, e.g. "Select a Lap"
Lap 1
Lap 2
Lap 3 and so on until it reaches the number of laps chosen earlier when it will then loop round to lap 1 again.
In the section to select a lap it should come up with lap 1 when the user will either select next when it will move to lap 2 or enter where it will go to a different page.
I can write the code that will take you between the laps; however, it is the limiting of the value to the previous figure set that I am not sure where to start.
What is the best method of achieving this?
I haven't attached any code as I haven't started writing this part yet.
Many thanks.