|
On Sat, 13 Jan 2001, Trevor Foley wrote:
> Hey,
>
> I am trying to get my computer to talk to 2 rcxs. I have the program and
> when I send ir messages to the RCX loaded with LegOS, it shows the IR port
> on. However I do not understand what the packets should look like with the
> intergrity layer. Right now I have something like:
>
> MsgData[0] = 0xF0; //Header
> MsgData[1] = 0x01; //Lenght
> MsgData[2] = 0x01; //Data
> MsgData[3] = 0x03; //Checksum (Not sure about this)
Is there some reason you're not using liblnp? It will take care of all
this junk for you and you just have to give it the data.
--
"The greatest obstacle to discovery is not ignorance -
it is the illusion of knowledge." - Daniel J. Boorstin
Mike Ash - <http://www.mikeash.com/>, <mailto:mail@mikeash.com>
|
|
Message is in Reply To:
| | LNP Help
|
| Hey, I am trying to get my computer to talk to 2 rcxs. I have the program and when I send ir messages to the RCX loaded with LegOS, it shows the IR port on. However I do not understand what the packets should look like with the intergrity layer. (...) (24 years ago, 13-Jan-01, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|