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 / 23864
    light sensor, 3 secs —roc
   i am working on this silly game where you have to "shoot" a simple pivoting mechanism (it moves like a metronome) with a light sensor on top of it, using a laser pointer. you win if you manage to keep the laser pointer in the light sensor for more (...) (19 years ago, 11-Apr-05, to lugnet.robotics)
   
        Re: light sensor, 3 secs —Danny Staple
   You could base the program on a loop. The RCX has a built in timer - and you can read this in NQC - (URL) loop checks the state of the sensors, and how long they have been pressed. if the sensor is no longer active - go to a "loser" routine, and if (...) (19 years ago, 12-Apr-05, to lugnet.robotics)
 

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