Arduino-like millis library, using TIM2.

check header file for setup.