To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 658
657  |  659
Subject: 
RE: global output control
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 22 Jun 2000 14:51:00 GMT
Viewed: 
1802 times
  
Dave Baum <dbaum@spambgoneenteract.com> writes:

// convenience functions
EnableOutput(const int outs);  // global on
DisableOutput(const int outs); // global off
InvertOutput(const int outs); // global reverse
RevertOutput(const int outs); // global fwd


Ummm, how about...

ReverseOutput(const int outs); // global reverse
ForwardOutput(const int outs); // global fwd

Reverse kind of implies invert, but I don't think
that will matter to many folks...

Cheers,

Ralph Hempel - P.Eng

--------------------------------------------------------
Check out pbFORTH for LEGO Mindstorms at:
<http://www.hempeldesigngroup.com/lego/pbFORTH>
--------------------------------------------------------
Reply to:      rhempel at bmts dot com
--------------------------------------------------------



Message has 1 Reply:
  Re: global output control
 
(...) The problem I have with ForwardOutput() and ReverseOutput() is that the terms 'forward' and 'reverse' already have a meaning - specifically they refer to motor directions... Fwd(OUT_A); Rev(OUT_B); If you then 'reverse' the global direction... (...) (24 years ago, 22-Jun-00, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Re: global output control
 
(...) How about DontInvertOutput? Not beautiful, but IMHO clearer. Jürgen (24 years ago, 20-Jun-00, to lugnet.robotics.rcx.nqc)

12 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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