Practical State Machines in C - using HEW M16C Simulator and GNU
GNU for R8C is used to demonstrate a "port" of the HSM technique used by Miro Samek in his article for Embedded Systems Programming. It is very easy to understand and demonstrate without external hardware. It implements a very direct "visual" approach to programming using UML Statecharts and C. (this demo uses the GUI window in the debugger to select "events".)
R8C_HSM_sim.zip
—
ZIP archive,
107Kb

