To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 836
  NRLink reading RCX response w/ RobotC
 
I have posted a problem to the RobotC forums and not recieved any response: (URL) anyone here have any experience with RobotC (how is their support)? Has anyone here worked with the NRLink? Have you been able to get a response from the RCX? Thanks, (...) (17 years ago, 31-Jul-07, to lugnet.robotics.nxt)
 
  RE: NRLink reading RCX response w/ RobotC
 
There are three steps to reading an I2C message from a sensor. 1. Send a message to the I2C sensor to initiate the read. Look at the program "NXT HiTechnic Accelerometer" in the RobotC sample programs folder for an example that you can clone. (...) (17 years ago, 1-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response w/ RobotC
 
(...) Searching for "robotc i2c" returns 3 message in the forums: "Interfacing with Lego Sensors" "Help with US sensor!!" "RobotC I2C Help" Only the third message describes "Test I2C Messaging". It's very specific to the message thread and in it you (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
 
  RE: NRLink reading RCX response w/ RobotC
 
(...) I couldn't find it either, but its out there somewhere. (...) Agreed. It started as a internal debugging tool and was left visible for the small handful of power users who write their own I2C device drivers. (...) Agreed. I went back and (...) (17 years ago, 2-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response w/ RobotC
 
(...) I downloaded the SDK from (URL) but can't find any reference to the message format. Perhaps this is the wrong SDK? I've looked in all the doc .pdf files and skimmed everything else. I sure am having a hard time locating things. (...) So what (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  RE: NRLink reading RCX response w/ RobotC
 
(...) Look at the file "RCX2 LASM Byte Codes" for a description of each of the available opcodes. Read (URL) coupled with the contents of my previous email. (...) No valid message starts with with 'opcode' byte of '00' or 'FF'. [Check out the above (...) (17 years ago, 3-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response
 
(...) You might want to consider using NXC and the standard NXT firmware. Here's some code John Barnes wrote in NXC for reading sensor values via the NRLink: int count; int sensorval; int i; int temp; byte toggle=0; byte csum; byte RCXcmnd[]; /*[0] (...) (17 years ago, 4-Aug-07, to lugnet.robotics.nxt)
 
  Re: NRLink reading RCX response
 
(...) Thanks for the recommendation John, I think we met in '99 at Mindfest at MIT, but I'm sure you met way too many to remember. I'm a long-time user of NQC and I evaluated NXC right after I got the NXT, along with RobotC. I've been focusing on (...) (17 years ago, 5-Aug-07, to lugnet.robotics.nxt)

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