I am learning to make state machine diagram. consider LED and Motor is connected to output pin of microcontroller. I want to turns on and off LED without using any delay function in program. Can I run motor at the same time without being interrupted by the LED?. I am sure it can done If this can happen, how will the diagram of Satay machine be made for this?
I made following one
Updated : consider LED and Motor is connected to output pins of microcontroller.
I made following one
Updated : consider LED and Motor is connected to output pins of microcontroller.
Last edited: