To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 2558
2557  |  2559
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.stopspamNO>
Viewed: 
1113 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 (...) (25 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, (...) (25 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
    

Custom Search

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