I am building a batch counter to count a series of pulses
Hardware is a mega ,4 buttons and an LCD display.
General description
The LCD displays eight 0,s on top line and eight 0's on bottom line
i want to move a flashing cursor along the bottom line from right to left and alter the value to a desired count then press enter button and then top display will have that count and when the input sensor activates the top display will count down when this gets to 0 a relay will change form n/c to n/o.
I have attached some of the code i need help with the moving cursor, it works but when button is pressed to change value it adds another digit to the bottom line.
Any help would be appreciated
Batch_counter_v1a.ino (3.4 KB)