A compact C finite state machine (FSM) implementation that's easy to use on embedded and PC-based systems This article provides an alternate C language state machine implementation based on the ideas presented within the article “State Machine Design in C++”. The design is suitable for any platform, embedded or PC, with any C compiler. Download source - 55.3 KB Introduction In 2000, I wrote an art
![State Machine Design in C](https://cdn-ak-scissors.b.st-hatena.com/image/square/3c94f1abdec4475e99dd25398da08623df75d743/height=288;version=1;width=512/https%3A%2F%2Fwww.codeproject.com%2FKB%2FArticles%2F1275479%2FThumbnail.png)