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 / 2056
2055  |  2057
Subject: 
RCX packet format
Newsgroups: 
lugnet.robotics.rcx
Date: 
Tue, 13 May 2003 15:42:22 GMT
Viewed: 
2750 times
  
Hi,

When u want to send message from the RCX for instance to a PC, what is the
sequence of bytes do u follow. For example if u are sending from a remote
control/PC to the RCX, I know u send something like this:

0x55
0xff
0x00

and u follow each data with its two's complement, for instance if u want to
send a the data 4, it will also be followed by its two's complement, then u
have the checksums and then its two's complement.

Can  somebody help me out when it is the other way round and u are transmitting
data, lets say 4 from the RCX to the PC. What is the format I should used to
represent this.

Thank you.
Michael mfbosu@yahoo.com



Message has 1 Reply:
  Re: RCX packet format
 
Michael, It depends on what type of software you are running on the PC. If you are talking directly to the serial port (or USB port) on the PC side, then you don't need to adhere to any specific packet type, you can invent your own (if that's what (...) (21 years ago, 19-May-03, to lugnet.robotics.rcx)

2 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