To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.spyboticsOpen lugnet.robotics.spybotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Spybotics / 306
Subject: 
Reading Spybotic controller
Newsgroups: 
lugnet.robotics.spybotics, lugnet.robotics
Date: 
Sat, 24 Jan 2004 17:17:56 GMT
Viewed: 
5924 times
  
Hi,

I've been trying some experiments with Spybotic
communications using Bricxcc and NQC.

I have been able to send and receive messages
using 'SendSpybotMessage()' and 'RxMessage()'

However, when I try to read the controller, I am
only able to register button 2 (the red one).

The other buttons switch the motors as normal.

Is there somthing I have to do in order to be able
to read all the buttons?

Thankyou
John


Subject: 
Re: Reading Spybotic controller
Newsgroups: 
lugnet.robotics.spybotics, lugnet.robotics
Date: 
Mon, 26 Jan 2004 14:08:09 GMT
Viewed: 
5991 times
  
In lugnet.robotics.spybotics, John Barnett wrote:
Hi,

I've been trying some experiments with Spybotic
communications using Bricxcc and NQC.

I have been able to send and receive messages
using 'SendSpybotMessage()' and 'RxMessage()'

However, when I try to read the controller, I am
only able to register button 2 (the red one).

The other buttons switch the motors as normal.

Is there somthing I have to do in order to be able
to read all the buttons?

I seem to remember in Mindscript, there is a way to disable the RC messages.  I
think it was something like "setRCDisable"

I'm not sure if that is implemented in the latest verson of NQC.  (and I'm not
sure if that's the right command)  But I hope that gives you a place to start.

Steve


Subject: 
Re: Reading Spybotic controller
Newsgroups: 
lugnet.robotics.spybotics, lugnet.robotics
Date: 
Mon, 26 Jan 2004 17:16:23 GMT
Viewed: 
6097 times
  
Thanks Steve,

I was having some trouble with MindScript, but I'll give it another try.

Thanks again
John


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