Go to Post communication at its best = quick, brief, clear - JaneYoung [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
  #5   Spotlight this post!  
Unread 11-01-2003, 23:33
Geoff_494 Geoff_494 is offline
Registered User
#0494 (Martians)
 
Join Date: Dec 2002
Location: Goodrich, MI
Posts: 7
Geoff_494 is an unknown quantity at this point
Send a message via AIM to Geoff_494
In the old PBASIC syntax, IF...THEN loops can only be directed to a label, you can't put a command after the THEN statement. Working could would be something along the lines of:

IF rc_sw1 = 1 THEN motor_fwd
*insert code here for the rc_sw1 <> 1 condition*
motor_fwd:
drive_L = 190

Also, what optical sensors are you using? If you're using the banner sensors from last year, the 7.2 volt battery pack that came with the EduBot won't be enough to power them. You'll have to use an external circuit that delivers 10-30 V (consider 2 9V batteries in series).
 


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
Vanilla Coke..good? bad? A. Leese Chit-Chat 41 07-01-2004 00:15
Check this stuff out: good websites LBK Rules Chit-Chat 3 15-01-2003 10:28
What makes the Good, So good? Chris General Forum 16 18-07-2002 11:09
your favorite music and tipps about good new rock music PsychoPhil Chit-Chat 26 03-07-2002 01:19
IT to be revealed on Good Morning America Joe Ross Dean Kamen's Inventions 50 13-12-2001 09:53


All times are GMT -5. The time now is 11:56.

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