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 / 5030
5029  |  5031
Subject: 
Light sensor help??Newbie!!!
Newsgroups: 
lugnet.robotics
Date: 
Wed, 12 May 1999 13:50:28 GMT
Original-From: 
Bill Leggett <billl@pcom.netSTOPSPAMMERS>
Viewed: 
1058 times
  
Hi All! I have a problem with the light sensor using the included
software.
(Don't groan all you advanced programmers, please  ;-> )
But anyway, the manual states and I quote" trigger the stack when the
FIRST of TWO consecutive readings falls outside a chosen interval AND
the second reading falls within a chosen interval."
I have made for my class a challenge of finding a bright light source
with cement bricks in the way. The light sensor looks over the bricks
and the touch sensors avoid the bricks. The touch avoidance works GREAT!
but it only searches for the light some of the time. I believe it is due
to the above specifications for triggering the stack. AAAARRRRRRGGGHHH!
Help! suggestions maybe??

How about if I only have the bright set 80 to 100 ( It reads 95 or
higher from 20 feet away!) Then have the dark set at 0 to 0??
Thanks in advance, Bill Leggett - Orleans Vocational Center

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 1 Reply:
  Re: Light sensor help??Newbie!!!
 
(...) This is how the Sensor Watcher works. The stack of code that hangs below a Sensor Watcher is only executed once when the reading becomes true. As long as the condition stays true it won't do anything which is probably not what you want. What (...) (26 years ago, 13-May-99, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
20 hours ago
Custom Search

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