Go to Post I told people that I was a summit for world leaders for our regional. We had two that are current world leaders and over 1000 that will be ones in 2029. - Foster [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8   Spotlight this post!  
Unread 19-03-2004, 14:04
jaywion jaywion is offline
Registered User
#0842
 
Join Date: Jan 2004
Location: Phoenix, AZ
Posts: 3
jaywion is an unknown quantity at this point
Re: Need help with my code

Quote:
Originally Posted by Alan Anderson
What is it supposed to do? I noticed one odd thing right away:
Code:
		if(tickCount >= SECS_TO_TICKS(1))
		{
			AUTO_STATE = AUTO_FINISHED; //AUTO_SECOND_STATE;
			tickCount = 0;
		}
Is it really supposed to go to the AUTO_FINISHED state after one second, or did you mean for it to go to AUTO_SECOND_STATE instead?

(If you surround your code with [code] and [/code] tags when you post it here, the whitespace formatting will be preserved.)
I am trying to get it to go forward for so long then stop. The finish call in that area is to see if it goes through the loop but your right it shouldn't be their. Altho we did that the code is not being sent to the PWMs.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is your most prefered programming language? Hailfire Programming 156 19-01-2005 21:42
Interrupt timer, executing code asap? SeanCassidy Programming 10 07-03-2004 01:47
Updated Infrared Tracking Code Kevin Watson Programming 0 18-02-2004 21:41
Inserting Naviagation code into Default code? actorindp Programming 3 28-01-2004 18:12
Does your team use the Default code. Jeff McCune General Forum 2 09-01-2003 14:46


All times are GMT -5. The time now is 03:20.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi