Introduction - If you have any usage issues, please Google them yourself
This procedure takes advantage of the periodic interruption function of timer 1, which generates a break -procedures for the use of the timer interrupt the cycle of a function, each have an interruption 1ms