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
835  |  837
Subject: 
NRLink reading RCX response w/ RobotC
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 31 Jul 2007 19:48:36 GMT
Viewed: 
21677 times
  
I have posted a problem to the RobotC forums and not recieved any response:
http://www.robotc.net/forums/viewtopic.php?t=230

Does 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,
-Wes



Message has 2 Replies:
  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
 
(...) 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)

8 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