Subject:
|
Re: IR Port as Proximity detector.
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 8 Jan 1999 13:55:53 GMT
|
Viewed:
|
1446 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
David Chen writes:
> SendMessage(level);
You are only making IR light with the transmitter, why do you send the value of
level? Why not just a constant?
|
|
Message has 1 Reply: ![](/news/x.gif) | | Re: IR Port as Proximity detector.
|
| (...) Agreed, I could have sent OhFF or any number for that matter. Sending the read light level was a legacy of my early debugging code in which I was using RcxCC's live monitoring feature to see what values were being read to establish my (...) (25 years ago, 8-Jan-99, to lugnet.robotics)
|
Message is in Reply To:
![](/news/x.gif) | | Re: IR Port as Proximity detector.
|
| Oops, noticed a coding error, the line that says: level = Input(1); Should read: level = IN_2; For better readability. The original version works b/c IN_2 is #defined already as Input(1); but the latter is more readable. I have used this (...) (25 years ago, 8-Jan-99, to lugnet.robotics)
|
13 Messages in This Thread: ![IR Port as Proximity detector. -David Chen (8-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: IR Port as Proximity detector. -lego-robotics@crynwr.com (Nick Taylor) (8-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![Re: IR Port as Proximity detector. -lego-robotics@crynwr.com (Nick Taylor) (8-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![Re: IR Port as Proximity detector. -David Chen (8-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif) ![](/news/46.gif) ![Re: IR Port as Proximity detector. -David Chen (8-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/268.gif) ![IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -Daniel McCarty (14-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/68.gif) ![Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -lego-robotics@crynwr.com (Laurentino Martins) (14-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -John A. Tamplin (14-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -lego-robotics@crynwr.com (Laurentino Martins) (14-Jan-99 to lugnet.robotics)](/news/x.gif) ![](/news/246.gif) ![RE: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -lego-robotics@crynwr.com (Tilman Sporkert) (14-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -John A. Tamplin (14-Jan-99 to lugnet.robotics)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: IR Port as night/day detector (Was: Re: IR Port as Proximity detector.) -Daniel McCarty (15-Jan-99 to lugnet.robotics)](/news/x.gif)
- 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
|
|
|
|