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 / 22408
22407  |  22409
Subject: 
Sensors triggered twice?
Newsgroups: 
lugnet.robotics
Date: 
Wed, 14 Apr 2004 00:58:31 GMT
Viewed: 
1011 times
  
Hi,

I wanted to show my son something with the light sensor. I quickly built
the code using the Mindstorms software (I still had no time to install
any alternative).

The problem is, that the other 'thread' (if bright) does start many
times before ending the previous run. Is there anything like 'critical
section', 'mutex', 'semaphore' or such to prevent such behaviour?

Yes, I'm a programmer, so using those colored blocks is a bit of pain
for me ;-))))

--
Jindroush <jindroush@nospam.seznam.nospam.cz>
Remove both 'nospam's from the address to reply.



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