clockData
(index: 0) an array that will filled with clock data:
clockData[0]
: hoursclockData[1]
: minutesclockData[2]
: seconds
Every time will loop and update clock, incrementing values. If you need to detect clock updates you can make an copy of clockData
then compare each value.