I would like to make a stopwatch by embedded C to program on ST STM32F407VG.
I know how I should write a clock program to make a hundredth of sec,but I know it will not be accurate,when I use a delay of 10ms. 
what should I do