Subject:
|
Re: global output control
|
Newsgroups:
|
lugnet.robotics.rcx.nqc
|
Date:
|
Tue, 20 Jun 2000 07:09:11 GMT
|
Viewed:
|
1818 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
>
> Any comments? The only name I'm really unhappy with is "RevertOutput".
How about DontInvertOutput? Not beautiful, but IMHO clearer.
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
|
|
Message has 2 Replies: | | RE: global output control
|
| (...) 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 (...) (24 years ago, 22-Jun-00, to lugnet.robotics.rcx.nqc)
|
Message is in Reply To:
| | global output control
|
| The Scout and RCX 2.0 both support what lego calls "global" control of the outputs. At first I thought the global calls somehow took precedence over normal calls, so I simply made global versions of all the output calls in NQC. However, after (...) (24 years ago, 18-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
|
|
|
|