larryd:
Does your sketch compile?
Yes it compile no problem
There are examples demonstrating the use of EEPROM, have you looked at them?
Sure i looked at some .but still fail in make it in my code
if (currentMillis - secondd == 1000) {
use >= as you need to be very lucky to get == (there are others too)
Ok i'll change to >=
long OnTime1 = 600000 ;
long OffTime1 = 3600000;
Suggest you get in the habit of using 'unsigned long' these will not be negative, will they?
Ok i'll change to unsigned long
Just still need help in modify my code to change ontime and offtime by arduino not by IDE