Re: [AVR-Chat] Finite State Machines (was: Multitasking)
2005-04-11 by Jose Fuentes
I am trying to write a program to create state machines visually and save them in XML format. Then I will convert XML files in another language like ANSI C by using XSL templates. Conversion part is straightforward, but I don't have enough time to create the GUI. Regards Jose --- Chuck Hackett <egroupscdh@WhiteTrout.net> wrote: > > > From: Larry Barello [mailto:yahoo@barello.net] > > > > .... > > Most (but not all) of my current projects use a > foreground loop with Finite > > State Machine (FSM) tasks and a high speed timer > interrupt that increments > > counters or runs additional FSM that need precise > periodic execution (e.g. > > motor or sensor control/input tasks, filtering, > etc) That structure is > > pretty simple and works well for just about > everything. .... > > On larger systems in a previous life I wrote a FSM > "compiler" that consumed a > description of a state machine and produced a set of > tables and source code > which was compiled into a communications > application. Support libraries > included debugging/trace tools that allowed symbolic > debugging of a FSM. Has > anyone done something like this for embedded C? > > Cheers, > > Chuck Hackett > "Good judgment comes from experience, experience > comes from bad judgment" > 7.5" gauge Union Pacific Northern (4-8-4) 844 > http://www.whitetrout.net/Chuck > > > > > > > Yahoo! Groups Links > > > AVR-Chat-unsubscribe@yahoogroups.com > > > > > > ___________________________________________________________ 250MB gratis, Antivirus y Antispam Correo Yahoo!, el mejor correo web del mundo http://correo.yahoo.com.ar