Go to Post "What's this on the floor? 'Team 71 2005 strategy and design notebook'?" DRAT! I better call Bill and get this in the mail. - Gary Dillard [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
  #2   Spotlight this post!  
Unread 26-01-2008, 14:52
psy_wombats's Avatar
psy_wombats psy_wombats is offline
Registered User
AKA: A. King
FRC #0467 (Duct Tape Bandits)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Shrewsbury MA
Posts: 95
psy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura aboutpsy_wombats has a spectacular aura about
Re: Using While Statements

The robot will freeze because the loop interferes with the default 26 ms loop of the robot, causing the code error. As the robot's running its normal loop anyways, you should just be able to use an if statement, as the PWM value will last until the next refresh, and the condition will be re-evaluated.
 


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
Filtering out Vibration while using a KOP Accelerometer joshyboy9987 Electrical 31 22-01-2008 08:20
impossible statements Dan Zollman Math and Science 28 20-08-2005 18:34
Conditional #define Statements Ian W. Programming 3 14-02-2004 18:14
Contradictory FIRST Statements Gobiner Rules/Strategy 10 14-01-2003 16:12
Else Statements!!! Adam Shapiro Programming 9 22-12-2002 01:27


All times are GMT -5. The time now is 19:14.

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