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 / 17919
17918  |  17920
Subject: 
RE: nqc question
Newsgroups: 
lugnet.robotics
Date: 
Thu, 16 May 2002 20:24:14 GMT
Original-From: 
Rob Limbaugh <rlimbaugh@greenfieldgroup.^SayNoToSpam^com>
Viewed: 
680 times
  
Roel,

If it's not critical to monitor/control the motor with the RCX, you could use
Lego's 9V battery box (part #5391 on S@H).  It has a pushbutton-type switch.

This saves you a motor port, sensor port, and programming.  However, it is
larger and not as easy to mount (in some cases) as the Lego touch sensor.

Rob

-----Original Message-----
From: Roel Scheijde [mailto:Roel.Scheijde@tiscali.nl]
Sent: Thursday, May 16, 2002 2:37 PM
To: lego-robotics@crynwr.com
Subject: nqc question


I want to have a motor turn as long as i press a touch sensor and
stop when i release it.
This is probly a very simple problem but I cant seem to solve it.
I tried if while and until but for some reason it didn't work
***
email: Roel.Scheijde@tiscali.nl



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