Subject:
|
Re: IR Port as Proximity detector.
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Fri, 8 Jan 1999 17:04:28 GMT
|
Original-From:
|
Simen Svale Skogsrud <simen@mop./ihatespam/no>
|
Viewed:
|
1312 times
|
| |
| |
> 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?
I usually send SendMessage(255) because I somewhat believe that it would be
the value containing most "energy" (because then all bits in the byte are
ones). Maybe someone who knows the innermost secrests of the RCX can tell
us which message (if any) would result in the most light emitted?
Simen
--
Did you check the web site first?: http://www.crynwr.com/lego-robotics
|
|
Message has 2 Replies: | | Re: IR Port as Proximity detector.
|
| (...) As far as I know (from the Mindstorms Internal page's info), the SendMessage(x) function doesn't send just one byte, but a whole string of them as part of a simple protocol "wrapper" around the x's value. By sending any byte as x, you are (...) (26 years ago, 8-Jan-99, to lugnet.robotics)
| | | Re: IR Port as Proximity detector.
|
| Yeah, checked on Lego Mindstorms Internal Page. According to the info quoted below, the single byte message is wrapped in a simple protocol "wrapper". Much of the data is actually the wrapper, 8:1 I think. The 0's actually represent the light pulse, (...) (26 years ago, 8-Jan-99, to lugnet.robotics)
|
3 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
Active threads in Robotics
|
|
|
|