I am using an Arduino Nano and need to create a loop that increments a number by one every minute then writes it to memory. The previous number does not need to be kept.
This number has to be able to be recalled the next time the sketch is run.
Any help is greatly appreciated.
Also could I use a 16x2 display to display the number in memory?
For data to be retained after the Arduino loses power you need to store the data in the EEPROM memory.
Have a look at this...
Note that the EEPROM has a limited number of write cycles (~100,000), so if you are writing every minute then you can only reliably write to the same address for approximately 100,000 / 60 hours = 69 days. You may need to consider this in you code, so that you spread the writes over the EEPROM.
Yes you can display the number on a LCD. There are lots of LCD examples around.