Turning my lights off

Sorry Im kinda answering my own questions here
I think the only difference in using external hardware is that if i reset my arduino then I will have to program time again with external hardware I dont