| | Re: IR Port as Proximity detector. Nick Taylor
|
| | 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. David Chen
|
| | | | 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. Michael Gasperi
|
| | | | (...) 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. David Chen
|
| | | | (...) 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)
|
| | | | |