A simple C implementation of Queued State Machine (QSM) LabVIEW Design Pattern. Refer to this video to know how a Queued State Machine (QSM) LabVIEW Design Pattern works. https://www.youtube.com/watch?v=-xXJt7yUEis
Sample code project is created using Code:Blocks IDE and build in GNU GCC Compiler.
The code is hopefully ANSI-C compliant. :) To make it portable as much as possible.
QSM is tested to build using XC8, XC16, XC32, Atmel GNU C Compilers.