結果 : purpose of timer in microcontroller