State Machines

Quantum Leaps

State machines can help you produce efficient, maintainable, testable systems with well understood behavior, rather than creating “spaghetti” code littered with convoluted ifs and elses. Did you know that you can easily implement sophisticated UML state machines (statecharts) directly in C or C++ without big tools?

The open source Quantum Platform™ (QP) from Quantum Leaps, LLC contains all you need to effectively apply statecharts in embedded real-time systems. The code is very compact (around 4KB) and integrates well with commercial RTOS, such as uC/OS-II, to provide deterministic state machine execution.

GUI integration

QP very nicely complements µC/GUI library, because it provides the high-level “screen logic” based on hierarchical state machines, while the GUI library handles rendering of the images on the screen.

The code and application note posted online on the QP wegbsite demonstrate how to use uC/GUI with QP (both QP/C and QP/C++ versions are provided.) Also, the cases without the Windows Manager and with the Windows Manager are covered. The provided code runs in the µC/GUI simulation for Windows.



Website: www.quantum-leaps.com
Tel: (650) 804-0395
email: sales@quantum-leaps.com