Go to Post Be watchful of the "man this is so cool we should do it in build" as I've embarrassingly fallen victim to it so many times before, with varying results. - Aren_Hill [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
  #10   Spotlight this post!  
Unread 31-10-2002, 15:17
SlamminSammy's Avatar
SlamminSammy SlamminSammy is offline
Registered User
no team
Team Role: College Student
 
Join Date: Jun 2002
Location: Glasgow, Scoland
Posts: 140
SlamminSammy is on a distinguished road
Send a message via AIM to SlamminSammy
Quote:
Originally posted by f22flyboy

p1_sw_top_prev=p1_sw_top

I see that it sets p1_sw_top_prev=0 but why not just say that?
The gear_count is a delay to prevent damage to the gearbox and I think the p1_sw_top_prev=p1_sw_top resets the input and as for not setting it equal to zero, the button may not have started in the zero (off) position.

Anyway, Rob will be back in an hour and explain everything.
__________________
The opinions stated above are not necessarily those expressed by the FIRST Robotics Program, its participating teams, or any other individual or organization.
 


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
PBASIC Syntax Question Raven_Writer Programming 4 20-08-2003 08:07
Question Obtaining Pbasic 2.5 PyroPhin Programming 3 18-01-2003 01:26
pbasic question Mike375 Programming 14 15-01-2003 06:54
pbasic question archiver 2001 5 23-06-2002 23:50
Another PBASIC Question Ian W. Programming 4 31-01-2002 21:36


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

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