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 / 3022
3021  |  3023
Subject: 
Re: Sensor monitoring
Newsgroups: 
lugnet.robotics
Date: 
Wed, 20 Jan 1999 20:01:53 GMT
Original-From: 
Laurentino Martins <lmartins@marktestIHATESPAM.pt>
Viewed: 
1009 times
  
To my knowledge the LEGO firmware executes one instruction at a time for each task, so there is one and only one instruction being executed at a certain instant even if you have multiple tasks.
Because NQC uses the LEGO firmware, I don't think you can monitor both at the same instant using only one RCX, but I'd love to be proved wrong.

By the way, anyone knows in average how long the firmware takes to execute one instruction?


Laurentino Martins   *<||:-)

[mailto:lau@mail.telepac.pt]
[http://www.terravista.pt/Enseada/2808/]

--//--

At 19:52 20-01-1999 Wednesday , you wrote:
I have a project that I am building, it is a finish line monitor for a
pinewood derby track. What I am doing is putting two light sensors above the
track pointing down so the ambient light will change when the car crosses
the finish line. One sensor for each track. I am using NQC to monitor the
sensors, so my question is can I monitor both the sensors in parallel so
neither one has an advantage? Which ever sensor changes first then it will
flag that lane as the winner.

Any ideas?

Thanks,

Bryan Bible                                                      ---
__o                   ---         __o
Tandem Computers                                       ---       _   \<,_
---       _  \<,_
Austin Texas                                               ---        (*)  /
(*)           ---        (*)  /  (*)
bryan.bible@compaq.com

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

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



1 Message 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