Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/02/06 22:18
Read: times


 
#128868 - State Machine Generator
Responding to: ???'s previous message
Hello Dennis,

this thing is very cool, i just miss 2 things


1. a central function for state changes like

#define goState goStateFL( __FILE__,__LINE__,newState
int goStateFL ( char* file, int line, EState newState )
{
// Log all state changes so that we know whate changes the state
LOG ( __FILE__,__LINE__, state <-> newState )

if ( newState != state )
{
switch (state)
case ST_1
.... // do all exits here


switch (newState )
.... // do all inits here
}
state = newState
}

2. a central function for state tasks when we do not use timer events but a simple mainloop() to trigger processing like:
int statesRun (void)
{
switch ( state )
case ST_1: ST_1_Run()
......
}

Thank you for your tool i'll use it.

By the way may you publish the source of the tool? :-)

Regards

Urs



List of 35 messages in thread
TopicAuthorDate
Free 8051 source code and State Machine generator            01/01/70 00:00      
   do you give free technical assistance?            01/01/70 00:00      
      re            01/01/70 00:00      
   yet another... but why not?            01/01/70 00:00      
      not really            01/01/70 00:00      
         No 8255 problems for me.            01/01/70 00:00      
            No 8255 problems for me.            01/01/70 00:00      
               I2C extenders            01/01/70 00:00      
                  I2C extenders            01/01/70 00:00      
   I'll give it a look            01/01/70 00:00      
      visualSTATE            01/01/70 00:00      
         visualSTATE; BOUML            01/01/70 00:00      
            visualSTATE; BOUML            01/01/70 00:00      
            Impressive tool!            01/01/70 00:00      
         You ain't seen nothin' yet...            01/01/70 00:00      
   State Machine Generator            01/01/70 00:00      
      Re: State Machine Generator            01/01/70 00:00      
         Re: Re: State Machine Generator            01/01/70 00:00      
   hardware            01/01/70 00:00      
      Components            01/01/70 00:00      
         hardware            01/01/70 00:00      
   Easy to use?            01/01/70 00:00      
      Cat Aided Design?            01/01/70 00:00      
         It's just a FAD...            01/01/70 00:00      
            I prefer RAM            01/01/70 00:00      
            FAD            01/01/70 00:00      
               The best cat I ever knew...            01/01/70 00:00      
      CDB            01/01/70 00:00      
      off topic            01/01/70 00:00      
      Nice pussy            01/01/70 00:00      
   Rhapsody            01/01/70 00:00      
      Totally different league!            01/01/70 00:00      
         Rhapsody v. Statemate v. VisualState            01/01/70 00:00      
            $tatemate -- never mind            01/01/70 00:00      
   Free from Telelogic            01/01/70 00:00      

Back to Subject List