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 / 989
988  |  990
Subject: 
Re: Nxc and Mindsensors stuff
Newsgroups: 
lugnet.robotics.nxt
Date: 
Tue, 27 Nov 2007 04:32:38 GMT
Viewed: 
31331 times
  
In lugnet.robotics.nxt, Alfonso Martone wrote:
Hi, I finally got my mindsensors stuff (including a DIST-Nx) and am
still figuring out how to use them with NXC.



To use the DIST-Nx sensor from mindsensors.com you can use the code at this url:

http://bricxcc.sourceforge.net/nbc/nxcsamples/dist.nxc

Make sure you initialize the sensor using the correct type and properly energize
it after you configure the port as a lowspeed port.  The sample program is setup
to have the sensor attached to port 1.

I have tested this code tonight and it appears to work fine.

John Hansen



Message is in Reply To:
  Re: Nxc and Mindsensors stuff
 
Il giorno 12-nov-2007, alle ore 16:59, GiP ha scritto: (...) Hi, I finally got my mindsensors stuff (including a DIST-Nx) and am still figuring out how to use them with NXC. It seems we need only two functions: - a "do a full initialization" one: (...) (17 years ago, 26-Nov-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