开发者

Erlang: Implementing a Finite State Machine using gen_fsm

开发者 https://www.devze.com 2023-01-12 08:43 出处:网络
I\'m looking for an example of a simple FSM implemented in Erlang using the gen_fsm from O开发者_如何学编程TP.I found this tutorial really helpful -

I'm looking for an example of a simple FSM implemented in Erlang using the gen_fsm from O开发者_如何学编程TP.


I found this tutorial really helpful -

http://spawnlink.com/articles/an-introduction-to-gen_fsm-erlybanks-atm/index.html


You can also refer to the official erlang documentation.

http://www.erlang.org/doc/design_principles/fsm.html

The locked door example reported in the link is quite easy to understand

0

精彩评论

暂无评论...
验证码 换一张
取 消