Subject:
|
Re: Communicatin between NQC and legOS
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Wed, 27 Sep 2000 02:48:09 GMT
|
Viewed:
|
1605 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:
6 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|