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 / 1437
1436  |  1438
Subject: 
Re: Sending ir packets
Newsgroups: 
lugnet.robotics.rcx
Date: 
Sat, 29 Sep 2001 19:24:02 GMT
Viewed: 
1670 times
  
Check the source code for NQC (in rcx/RCX_Link.cpp), or even use it as your
underlying comms library. You may spot something Dave does that you don't..

Phil.

Seanna or Steve or Trevyn or Nicholas wrote:

I am writing a program, and it doesnt work. Right now im just trying to
make sure I can interface with the serial port properly. So I am sending:

55 ff 00 51 ae 03 fc 54 ab

At 2400 baud, 8 data bits, odd parity, and one stop bit.

It doesnt work. The light on the ir tower turns on, but the rcx does
nothing.

When i run "nqc -raw 5103" it works just fine, so its not the rcx or the
tower.

So, my questions are:
1. Is that packet malformed?
2. How does one calculate the checksum?

Thanks,
Trevyn.
--
    /"\
    \ /  ASCII Ribbon Campaign - Say NO to HTML in email and news
     X
    / \



Message is in Reply To:
  Sending ir packets
 
I am writing a program, and it doesnt work. Right now im just trying to make sure I can interface with the serial port properly. So I am sending: 55 ff 00 51 ae 03 fc 54 ab At 2400 baud, 8 data bits, odd parity, and one stop bit. It doesnt work. The (...) (23 years ago, 20-Sep-01, to lugnet.robotics.rcx)

4 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