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 / 2340
2339  |  2341
Subject: 
Re: QuiteC IR interfacing to lego firmware IR
Newsgroups: 
lugnet.robotics.rcx
Date: 
Thu, 5 Feb 2004 04:48:54 GMT
Viewed: 
3080 times
  
In lugnet.robotics.rcx, Kevin L. Clague wrote:
Hi,
  QuiteC's IR facilities are rudimentary.  They send and receive single bytes.
I need to be able to make it send and receive lego IR protocol messages for
opcode 0xf7.

  I'm not having much luck.

  When I send a 0xf7 opcode with a message of 0x03 (using brickOS as a known
good thing), it is supposed to send:

0x55,0xff,0x00,0xf7,0x08,0x03,0xfc,0xfa,0x05

I assume that brickOS is behaving correctly.

On the quiteC side I receive this:

0x5d,0xff,0x00,0x03,0xfc,0xfa,0x05

Two mysteries:

1.  How did the 0x55 header byte get garbled to 0x5d?
2.  Where in the heck did the opcode bytes (0xf7,0x08) go?

Any help with QuiteC IR would be greatly appreciated.

It is my conclusion that QuiteC is not receiving back to back IR bytes fast
enough, and that characters are lost.

Kevin



Message is in Reply To:
  QuiteC IR interfacing to lego firmware IR
 
Hi, QuiteC's IR facilities are rudimentary. They send and receive single bytes. I need to be able to make it send and receive lego IR protocol messages for opcode 0xf7. I'm not having much luck. When I send a 0xf7 opcode with a message of 0x03 (...) (21 years ago, 3-Feb-04, to lugnet.robotics.rcx)

3 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