This question could also have been asked in your own thread instead of just dropping your code there without further comment - particularly not answering any of the questions asked.
That's not really appreciated by people trying to help in their little spare time
BTW, as the name suggests unsigned variable types (as uint32_t or unsigned long returned by millis()) cannot become negative and 1000 is just an exemplary number.