To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / 747
746  |  748
Subject: 
Re: Communicatin between NQC and legOS
Newsgroups: 
lugnet.robotics.rcx
Date: 
Wed, 27 Sep 2000 02:48:09 GMT
Viewed: 
1427 times
  
In article <G1HrvF.Gqu@lugnet.com>, "Rainer Balzerowski"
<balze2@gmx.net> wrote:

In lugnet.robotics.rcx, Dave Baum writes:

the opcode of interest is F7 (thats what gets sent as a transmitted
message).  The entire packet would look like this:

55 ff 00 f7 08 x ~x s ~s

where x is the message you want to send
~x is the one's complement of x
s is the checksum (f7 + x)
~s is the one's complement of the checksum

OK, but do i have to create this frame using legos ??
I tried but it doesn't work.


you won't be able to use LNP - those packets are completely different
from the Lego firmware ones.  You'll need to write bytes directly to the
serial port (I'm not sure what support there is for this in legOS since
once you start munging the UART you probably won't be able to dll
something new).  UART should be configured as 2400bps, 8 data bits, odd
parity, 1 stop bit for LEGO packets.

(thank you so far dave baum !
I received your book today, hope this will help me.)

Probably won't help - there's one chapter on how you could use
communication between RCXs or from computer to RCX, but its mostly about
how to program the robot in NQC.  No technical details on the packet
format etc.

Dave

--
reply to: dbaum at enteract dot com



Message is in Reply To:
  Re: Communicatin between NQC and legOS
 
(...) OK, but do i have to create this frame using legos ?? I tried but it doesn't work. (thank you so far dave baum ! I received your book today, hope this will help me.) (24 years ago, 26-Sep-00, to lugnet.robotics.rcx)

6 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