Cutting through the confusion with state machines

Cutting through the confusion with state machines

If you search the Internet for “state machine,” you are likely to get a kitchen sink of results: from hardware Mealy/Moore state machines, through simple bubbles-and-arrows state machines implemented directly inside while(1) superloops, to the mysterious UML state machines, which nobody really knows how to use. If you are confused and would like to make some sense of this, you should read my latest article "Programming embedded systems: input-driven state machines" on embedded.com. The article is based on my video "State Machines Part-3: Input-Driven State Machines", which you should also watch.


Randall M.

Embedded Software Engineer - C/C++/OOD

1 年

I used the quantum leaps state machine framework at a previous job and this framework is very powerful, allowing complex problems to be solved in a straightforward manner using hierarchical state machine design. It even can function similar to an operating system although that requires looking at tasks in a different way via the active object design pattern. I highly recommend the Quantum Platform, especially when embedded linux is not a good option. QP works and is solid! I would be happy to use it again if my project team picked that path.

Brandon Shields

Senior Firmware Engineer at EDMI ANZ

1 年

Your videos on YouTube have made me question what I've been doing for the last 15 years. The type of next level knowledge that I wish I knew ages ago.

Muhammad Ali Mahmood

Embedded Software Engineer | Embedded / RTOS Design Geek

1 年

Thanks Miro. You're the best.

Yashwant Rao

Embedded Software Developer | Safety-Critical Rocket Avionics

1 年

I'm curious

要查看或添加评论,请登录

Miro Samek的更多文章

社区洞察

其他会员也浏览了