Read the title of your thread.But it is very important for me to know why you think that this problem can be solved by the state machine.
Could you help me to understand the timer interrupt
If you intend to use timer interrupts, how do you propose to use it?









