To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 256
255  |  257
Subject: 
Re: PC <> RCX Communication?
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc
Date: 
Mon, 29 Nov 1999 23:34:03 GMT
Viewed: 
209 times
  
In lugnet.robotics, Kornel Lambert writes:
Basically I am looking for a way to SendMessage() to the RCX, and a way to
receive messages sent by the RCX. The code onboard the RCX is NQC, and
ideally I would like to use VB+Spirit.ocx to receive messages from the 'bot
and control it by sending it messages.

The op-code for sending a message is $F7 "set message". Unfortunately somehow
it is left out of spirit.ocx, so you have to go down to the serial protocol in
order to use it. See <http://graphics.stanford.edu/~kekoa/rcx/> for the
details.

If you want to stick to spirit.ocx, you can use SetVar()/Poll() and a global
variable to achieve bi-directional communication between the RCX and the PC.

Cheers,
Hao-yang Wang



Message is in Reply To:
  PC <> RCX Communication?
 
Quick question: is there a way for the rcx to send data to the PC (and possibly vice versa)? I have a scanner base built, and ideally I would like a way to communicate with the RCX, with the PC controlling the movement of the scanner. I could (...) (25 years ago, 27-Nov-99, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc)

8 Messages 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