You chose type int for your time stamps, millis() returns unsigned long, so I used the mod operator to trim it down to size. Feel free to modify for the time stamp of your choice.
You chose type int for your time stamps, millis() returns unsigned long, so I used the mod operator to trim it down to size. Feel free to modify for the time stamp of your choice.