Thanks for the replies everyone.
I don't need the code to do anything else, that is the whole sketch.
Thanks again.