Go to Post We can't turn off inspiration and recognition, development and learning with a switch. It is an on-going process. If it were not, there would be no need for CD except for 6 weeks out of the year. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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
  #22   Spotlight this post!  
Unread 20-04-2003, 12:47
Andrew Andrew is offline
Registered User
#0356
 
Join Date: May 2002
Location: Little Rock, AR
Posts: 393
Andrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to allAndrew is a name known to all
Quote:
2. if you output 255 to any PWM in your code, then the serial out link looses sync, and the data will no longer be going to the right devices- PWM data may end up going to relay spikes, PWMs may use the wrong PWM outputs. You should always use the

drive= (2000+drive)min 2000 max 2254)-2000

line right before your serial out section, for all your PWM variables, if there is ANY chance the math your SW uses might end up with 255 in a PWM variable.
Could you elaborate on this? I have seen some "interesting" behavior when output a 255 in a serin. Is there something in the documentation that says not to do this? Is this a best guess as to why wierd behavior results (ie losing sync)?
 


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
How much planning goes into your robot? Jnadke General Forum 41 29-01-2006 21:29
serious problem found - robot controller resets when jarred! KenWittlief Electrical 23 19-03-2003 13:30
WASH Palm scouting at the Championship Mike Soukup Scouting 2 19-04-2002 15:14
Index of team's post about their robot... Ken Leung Robot Showcase 1 20-03-2002 17:10
about how Drive Train push the robot... shouldn't the force accelerate the robot? Ken Leung Technical Discussion 12 26-11-2001 09:39


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

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