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 / 11064
11063  |  11065
Subject: 
Re: Controlling 2 or more RCX
Newsgroups: 
lugnet.robotics
Date: 
Mon, 20 Mar 2000 02:37:46 GMT
Viewed: 
986 times
  
Jason Di Fazio wrote:

I am developing a GUI in Visual Basic to control the RCX realtime.  I have kind of run into a snag though and I could use some help.  Right now I have 2 RCX which I am trying to control.  The problem I am not sure how to control each RCX separately.  If I want to control Motor1 on RCX1 I will also turn on Motor1 of RCX2.  Is there a way out of this???  Is it possible to talk to only one RCX at a time??  Is there a way to specify the RCX I want to talk to??

I'm afraid not...

But you can use Message codes.

I've set up a system for up to 5 RCX's.

It goes like this.

Each RCX gets a constant set.

#define RCX# 0  // 0 to 4 are valid

Then for each message the takes the code and adds RCX# to it.

The above RCX would react to 1,6,11,16 etc.
RCX 1 would react to 2,7,12,17 etc.

You can set up to about 50 commands this way.

I know it's not what you wanted. But it's a possibility.

Dean
--
TFM's Home Page: http://www.akasa.bc.ca/tfm
Vancouver Lego Club: http://www.akasa.bc.ca/vlc



Message is in Reply To:
  Controlling 2 or more RCX
 
I am developing a GUI in Visual Basic to control the RCX realtime. I have kind of run into a snag though and I could use some help. Right now I have 2 RCX which I am trying to control. The problem I am not sure how to control each RCX separately. If (...) (25 years ago, 19-Mar-00, to lugnet.robotics)

4 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
14 hours ago
Custom Search

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