Go to Post I didn't say this! - Max Lobovsky [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
  #6   Spotlight this post!  
Unread 14-01-2003, 14:06
frumious frumious is offline
Registered User
#0847
 
Join Date: Jan 2003
Location: Philomath, Oregon
Posts: 10
frumious is an unknown quantity at this point
Send a message via ICQ to frumious Send a message via AIM to frumious Send a message via Yahoo to frumious
or, if you want something simpler, using the 2.5 code:

counter VAR WORD
counter = 0

inside the do...loop:

if counter++ > 500 then 'arbitrary time value
p1_x = 254
else
p1_x = 0
endif

should go forward for 13000 milliseconds, then go backwards.
change the 500 value up/down to have longer/shorter, it should incriment once every 26 ms (based on speeds of the default code)

Tyson
 


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
autonomous mode problem on field Chris_C Programming 17 26-03-2003 19:11
Autonomous Code From Experience EbonySeraphim Programming 7 14-03-2003 21:56
Autonomous code tutorial miketwalker Programming 2 23-02-2003 12:28
Overcomplicated Autonomous Code EbonySeraphim Programming 33 20-02-2003 21:53
Autonomous Code Adrian Wong Robotics Education and Curriculum 1 18-11-2002 22:34


All times are GMT -5. The time now is 00:03.

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