# State machine design?

**URL:** <https://forum.arduino.cc/t/state-machine-design/1198836>\
**Category:** Programming\
**Created:** [December 10, 2023, 8:13am UTC](https://forum.arduino.cc/t/state-machine-design/1198836 "2023-12-10T08:13:00Z")\
**Posts on this page:** 1\
**Showing post:** 87

<div class="post-metadata">

**Author:** ![J-M-L](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/j-m-l/32/766245_2.png) [@J-M-L](https://forum.arduino.cc/u/J-M-L)\
**Post date:** [December 11, 2023, 9:02am UTC](https://forum.arduino.cc/t/state-machine-design/1198836/87 "2023-12-11T09:02:06Z")

</div>

It was raining yesterday afternoon so I posted this

> [@Yet another Finite State Machine introduction](https://forum.arduino.cc/t/yet-another-finite-state-machine-introduction/1198997):
>
> Hello everyone, On this gray day, considering the number of questions that boil down to programming a finite automaton (or a state machine), I thought I would translate my small tutorial I also have in French to explain how to approach this type of code in a structured manner. Of course, there are libraries that do this more or less for you, but understanding how it works can often allow you to do without libraries that might weigh down your code. The general idea is to write a program that co…

Hopefully it will be a helpful introduction to some - I tried to keep it at beginner’s level.

---

_[View the full topic](https://forum.arduino.cc/t/state-machine-design/1198836)._
