CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 4 matches
CCS Forum Index
Author Message
  Topic: Finite State Machine , pointer to functn , transition table
AshrafAbuBaker

Replies: 4
Views: 8765

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2015 5:17 am   Subject: Finite State Machine , pointer to functn , transition table
ok, Now it works Laughing Laughing Laughing
But do you know what was wrong with it ??
Crying or Very sad

I only did this modification on the if statement

if ( ( ControlTable[i].init == Cur ...
  Topic: Finite State Machine , pointer to functn , transition table
AshrafAbuBaker

Replies: 4
Views: 8765

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2015 5:09 am   Subject: Finite State Machine , pointer to functn , transition table
it can not enter if statement enless in the first row in state transition table, when it has to execute Do_nothing
  Topic: Finite State Machine , pointer to functn , transition table
AshrafAbuBaker

Replies: 4
Views: 8765

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2015 3:34 am   Subject: Finite State Machine , pointer to functn , transition table
thanks alot you are the best.
your code have worked very well
but when i test mine with state_transition function

void state_transition (EVENT event)
{
int i=0;
int found=false; ...
  Topic: Finite State Machine , pointer to functn , transition table
AshrafAbuBaker

Replies: 4
Views: 8765

PostForum: General CCS C Discussion   Posted: Wed Jan 07, 2015 6:55 am   Subject: Finite State Machine , pointer to functn , transition table
Hi every One,
i had working on this for two days and i didn't know what is wrong with my code.
i am trying to implement a finite state machine to control a relay.
i did this with transition table ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group