I wonder if there's any open source code generator for state machines, just like IAR VisualState? Thanks, Gabe