Go to Post This is about more than building a robot, we cannot only do the fun things. If you are fully involved than you will be prepared to do anything in life. - Andy Brockway [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

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 23-01-2003, 08:46
Ryan Meador Ryan Meador is offline
Registered User
#0190
Team Role: Electrical
 
Join Date: Jan 2002
Rookie Year: 1999
Location: Worcester, NH
Posts: 68
Ryan Meador will become famous soon enough
Check this out.

From the Default Program:
' Bit 7 of the PB_mode byte (aliased as comp_mode below) indicates the status
' of the Competition Control, either Enabled or Disabled. This indicates the
' starting and stopping of rounds at the competitions.
' Comp_mode is indicated by a solid "Disabled" LED on the Operator Interface.
' Comp_mode = 1 for Enabled, 0 for Disabled.

From the Programming Reference Guide:
Bit 7 of the PB_mode byte (aliased as comp_mode below) indicates the status of the Competition
Control, either Enabled or Disabled. This indicates the starting and stopping of rounds at the
competitions. Comp_mode is indicated by a solid "Disabled" LED on the Operator Interface.
Comp_mode = 1 for Enabled, 0 for Disabled.

Now, to the best of my knowledge, IFI created the programming guide for this year's controller. So one would think that it's correct. It also is exactly the same as the comments in the code, and if you look at how it claims the LEDs will behave, they do exactly that. All that remains to be tested is whether or not the bit actually changes... I suspect it does.

I have a vague memory of another bit that was aliased as disabled_mode or something similar from years ago. Maybe it was just our programming coach changing the name. Now that I'm the programming coach, everything has new names None of this PWM1 garbage... it's LeftFrontDrive.
__________________
-Ryan

"You're not a real programmer until you end all your sentences with semicolons;"
Closed Thread


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
Looking from a different point at "Fixing" punarhero General Forum 27 18-03-2003 18:41
SCRRF 2/16/03 Sectional Competition Redhead Jokes Southern California Regional Robotics Forum 0 26-01-2003 01:33
How well did the regional competition help preparing? archiver 2001 3 24-06-2002 02:33
The site of the competition archiver 1999 8 23-06-2002 22:41


All times are GMT -5. The time now is 22:06.

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