To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1742
1741  |  1743
Subject: 
Re: New NQC API for RCX-Spybot or RCX-RC communication
Newsgroups: 
lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics
Date: 
Wed, 12 Jan 2005 16:51:51 GMT
Viewed: 
215 times
  
In lugnet.robotics, John Hansen wrote:
Recently I happened across the MindScript headers for the RCX in the SDK and saw
some interesting macros for RCX communication.  I decided to port them to NQC
and possibly add them to the official built-in NQC API.  I would be extremely
grateful if someone out there would be willing to try out some of the functions


I forgot to include a few #defines:

#define SERIAL_PACKET_RC 0 // default
#define SERIAL_PACKET_SPYBOT 0

#define SERIAL_COMM_RC 7 // 4800/76KHZ/25%
#define SERIAL_COMM_SPYBOT 7 // was SERIAL_COMM_4800 + SERIAL_COMM_76KHZ

The RC function, by the way, is essentially identical to the code posted a long
time ago regarding how to communicate with the MANAS motor unit using NQC.

I'm not sure whether the Spybot functions are working.  For one thing, the
previous Ping function (SendSpybotPing) is known to have worked in its original
version but I was using a different value for SERIAL_COMM_SPYBOT (3 rather than
7).  The MindScript macros definitely use 7 but it is not outside the realm of
possibility that they are incorrect.

I'm trying to sort it all out but if anyone else out there would like to help
that would be great.

John Hansen



Message has 1 Reply:
  Re: New NQC API for RCX-Spybot or RCX-RC communication
 
(...) John, I have a few beginner questions for you. I am trying to emulate the infrared protocol on a different microcontroller. I want it to be able to be controlled by a Lego remote and to send/receive messages to Lego devices. What format does (...) (20 years ago, 21-May-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)

Message is in Reply To:
  New NQC API for RCX-Spybot or RCX-RC communication
 
Recently I happened across the MindScript headers for the RCX in the SDK and saw some interesting macros for RCX communication. I decided to port them to NQC and possibly add them to the official built-in NQC API. I would be extremely grateful if (...) (20 years ago, 12-Jan-05, to lugnet.robotics, lugnet.robotics.rcx, lugnet.robotics.rcx.nqc, lugnet.robotics.spybotics)

4 Messages in This Thread:

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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
21 hours ago
Custom Search

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