To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 5267
5266  |  5268
Subject: 
executing instructions quickly
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Wed, 27 Jan 1999 14:27:06 GMT
Original-From: 
Adam Oliver <oli@wantree[stopspam].com.au>
Viewed: 
935 times
  
Just a quick question with regards to executing some instructions quickly.
I'm using the pa7i9600.icb file to control a couple of mini SSCs, and I need to
move 6 servos as close to simultaneously as I can.

My question : is it faster to write a procedure and use 6 calls, ie
    move(1,100)
    move(2,100)
    move(3,100)
    .....etc

or write it as a macro?

thanks

Adam

PS Check out my Handyboard-driven hexapod at http://www.wantree.com.au/~oli


--
MIME ATTACHMENTS DISCARDED:

1.  Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Content-Length: 1361



Message has 1 Reply:
  Re: executing instructions quickly
 
(...) If your macro just calls the "move" routine it will make absolutely no difference because your are in effect typing in the above anyway. If your macro inserts the code for "move" inline rather than calling it it will be only very slightly (...) (26 years ago, 27-Jan-99, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR