Go to Post You never know when the GDC will slide in a rule about any robot with a laser must do a laser light show on the floor of the field or face a 50-point penalty :p. - EricH [more]
Home
Go Back   Chief Delphi > Old Forum Archives > 2001
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
  #1   Spotlight this post!  
Unread 23-06-2002, 23:56
archiver archiver is offline
Forum Archival System
#0047 (ChiefDelphi)
 
Join Date: May 2001
Location: Pontiac, MI
Posts: 21,214
archiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond reputearchiver has a reputation beyond repute
HELP!!! PBasic and I just don't get along!!!

Posted by Joe at 1/31/2001 7:48 PM EST


Student on team #506 from St. Anthony's HS.



I'm attempting to do some minor editing to the control program and am running into a few problems. My main problem is trying to put in the Tank Drive setup so I can drive it with one joystick instead of using two. I put in the program exactly as the instructions said and after several attempts finally got it to upload to the robot controller. But for some reason instead of being able to control pwm 1 and 2 with 1 joystick I can't control either. pwm1 refuses to move while pwm 2 only goes full forward. Is the file outdated? What might I be doing wrong? What other information do you need? Somebody please help me!!!

I have also a perhaps easier question that is about programming but is not related to the first. I managed to successfully get relay 7 to go forward only and cut off when the pump hits 60 psi. The program for that section reads...
relay5_fwd = rc_sw1 'Port 1 Aux1 = Relay 5 Forward
relay5_rev = o 'Relay 5 Forward only

I then plugged in the wires on the cutoff switch on the tank to digital inputs 1 and 6. That way when the tank hits 60psi it shuts off the pump. The problem comes with the instant it goes below 60psi the pump turns back on. Is there a way I can either program a delay into this so it waits x seconds before turning on or preferably have it so it turns off at 60psi and doesn't turn back on till it reaches 40psi. Any help would be greatly appreciated. Thanks.



__________________
This message was archived from an earlier forum system. Some information may have been left out. Start new discussion in the current forums, and refer back to these threads when necessary.
 


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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PBASIC ARCTAN function Greg Ross Programming 14 11-05-2003 12:28
Obscure PBASIC for RoboEmu rbayer Programming 1 28-03-2003 23:57
PBasic 2.5 vs. 2.0 Anthony Kesich Programming 6 09-02-2003 22:06
RoboEmu 1.09 (supports PBASIC 2.5) rbayer Programming 22 21-01-2003 17:22
PBASIC Loop Speed? archiver 2001 3 23-06-2002 23:46


All times are GMT -5. The time now is 01:26.

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