To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 3219
3218  |  3220
Subject: 
Re: Communicating with Cybermaster not easy
Newsgroups: 
lugnet.robotics
Date: 
Mon, 25 Jan 1999 23:56:14 GMT
Original-From: 
Kay Neuenhofen <Kay.Neuenhofen@Eng%stopspam%.Sun.COM>
Viewed: 
2625 times
  
Sten,

your problem is probably the following:

you need to send the complement of the checksum as well,
so the complete packet would look like this:

0x55 0xFF 0x00 0x10 0xEF 0x10 0xEF

> I am sending a byte sequence like the following:
> 0x55 0xFF 0x00 0x10 0xEF 0x10
> where the three first bytes are the header,
> 0x10 is data and 0xEF is complimentary to 0x10
> and the last 0x10 is checksum (sum of all data mod 256)
> 
> The light on the rcx radio tower is blinking when I send the data
> but the light on the rcx is not blinking as it should when receiving data.
> 
> I get nothing back to th PC.

--
Did you check the web site first?: http://www.crynwr.com/lego-robotics



Message has 1 Reply:
  Re: Communicating with Cybermaster not easy
 
Again: The low-level packet headers are _not_ the same for the RCX and the CyberMaster. (See (URL) for the RCX details) This is the CyberMaster settings: The serial port should have the same settings as was for the RCX, as originally described by (...) (28 years ago, 26-Jan-99, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR