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 / 2540
  Re: IR Port as Proximity detector.
 
David ..... Thanks for sharing ... it's a great idea!!! - - - Nick - - - (...) (26 years ago, 8-Jan-99, to lugnet.robotics)
 
  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 (...) (26 years ago, 8-Jan-99, to lugnet.robotics)
 
  Re: IR Port as Proximity detector.
 
(...) You are only making IR light with the transmitter, why do you send the value of level? Why not just a constant? (26 years ago, 8-Jan-99, to lugnet.robotics)
 
  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 (...) (26 years ago, 8-Jan-99, to lugnet.robotics)

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