Statechart Tools Examples

Python Code Generation for Multi State Machines

This example demonstrates how to generate Python code from a multi state machine scenario.

Read more >

C Code Generation for Multi State Machines

This example demonstrates how to generate C code from a multi state machine scenario.

Read more >

C++ Code Generation for Multi State Machines

This example demonstrates how to generate C++ code from a multi state machine scenario.

Read more >

Java Code Generation for Multi State Machines

This example demonstrates how to generate Java code from a multi state machine scenario.

Read more >

Event Buffering

This example demonstrates the usage of event buffers and their impact on the event processing of a state machine.

Read more >

Arduino - Blinky LED (Deep C++)

This is a simple example of how to use the C/C++ Domain together with an Arduino. C++ Timer are integrated

Read more >

Arduino - Zowi (Deep C++)

This is a example of how to use the C/C++ Domain together with the Zowi by BQ. C++ Timer are integrated

Read more >

STM32F407 Discovery - Blinky LED (Deep C, Multi SM)

This is a simple example of how to use multi state machines in the C domain together with an STM32F407 Discovery board. C timers are integrated.

Read more >

STM32F407 Discovery - Blinky LED (Deep C)

This is a simple example of how to use the C domain together with an STM32F407 Discovery board. C timers are integrated.

Read more >

Multi State Machines

This example demonstrates the usage of multi state machines.

Read more >

Traffic Light with Multi State Machines

This example of the traffic light control demonstrates how to model multiple state machines that communicate with each other.

Read more >

Child-first vs. Parent-first Execution

This example demonstrates the two different execution semantics of composite states: child-first and parent-first execution.

Read more >

Digital Watch

This digital watch was first designed by David Harel, the founder of the Statecharts Theory. He described it in "On Visual Formalisms", published in "Communications of the ACM" in May 1988. A digital watch by that time had a display to show just a few digits. Using four control buttons, the user was able to toggle between displaying the time, displaying the date, using a stopwatch, maintaining an alarm, and setting time, date, and alarm.

Read more >

Event-driven vs. Cycle-based Execution

This example demonstrates the two different execution semantics of statecharts: event-driven and cycle-based execution.

Read more >

Hierarchical Statecharts

This example demonstrates the usage of hierarchies in statecharts. It explains the concepts of composite states and subdiagrams.

Read more >

History States

This example demonstrates the usage of history states and explains the difference between a shallow and a deep history.

Read more >

Coffee Machine (Deep C)

This is a comprehensive example for the deep integration of YAKINDU statecharts with manually written C code. The example is implemented as a simple command line tool.

Read more >

Coffee Machine (Deep C++)

This is a comprehensive example for the deep C++ integration of YAKINDU statecharts.

Read more >

MSP430 - Blinky LED (Deep C)

Blinking LED on MSP430G2553 by using TIs Code Composer Studio and YAKINDU Statechart Tools as a plugin

Read more >