Finite-state machine control method and finite-state machine
A finite state machine and control method technology, applied in the direction of program control design, program control devices, instruments, etc., can solve problems such as inability to program
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0027] In order to further explain the features of the present invention, please refer to the following detailed description and drawings of the present invention. The attached drawings are for reference and explanation purposes only, and are not used to limit the protection scope of the present invention.
[0028] Such as figure 2 As shown, this embodiment discloses a finite state machine control method, which includes the following steps S1 to S4:
[0029] S1. Create each state of the state machine according to the name and memory address of each state of the state machine. The state includes two parent states and a final state, and each parent state includes three child states;
[0030] S2. After the current state of the state machine is executed, the next state to be jumped to is specified by the postEvent function, where the first parameter of the postEvent function is the name of the next state to be jumped to, and the second parameter is to be passed Parameters for the next ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


