比如,设置了一个5秒的间隔,在间隔被改变为10秒时3秒已经过去了,那么下一个定时器事件将会在上一个定时器事件13秒后发生。
For example, if the interval is set to 5 seconds and 3 seconds have already elapsed before the interval is changed to 10 seconds, the next timer event will be 13 seconds from the last timer event.
串口和定时器的中断的子程序,对初学的朋友可能比较有用,已经过测试OK !
Serial port and interrupt subroutine, the friends may be more useful for beginners, has been tested OK!
应用推荐