is millis a built in timer ?
millis() is a function which returns an unsigned long value. That value is a counter which starts at 0 at power-on and is incremented once every 1 millisecond. It uses one of the internal timers of the AVR chip to give reasonably accurate interrupt driven timing.