| | Re: Nxc and Mindsensors stuff
|
|
(...) I do not have the mindsensors DROD-Nx sensor but I have read the documentation from their website. It says that the sensor is an analog sensor which you can read using the standard NXT-G light sensor block. That means you need to configure the (...) (17 years ago, 27-Nov-07, to lugnet.robotics.nxt)
|
|
| | Re: Nxc and Mindsensors stuff
|
|
(...) To use the DIST-Nx sensor from mindsensors.com you can use the code at this url: (URL) 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 (...) (17 years ago, 27-Nov-07, to lugnet.robotics.nxt)
|
|
| | 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)
|
|
| | Re: Nxc and Mindsensors stuff
|
|
(...) Actually, I have them. But it didn't help, I tried to use the I2C functions and the usual SetSensorType but I cannot get a meaningful number, maybe I am doing something wrong. Does anyone have an example of a NXC program that read a (...) (17 years ago, 19-Nov-07, to lugnet.robotics.nxt)
|
|
| | Re: Displaying multiple variables
|
|
(...) There's also Steve Hassenplug's Display Number block (find it here (URL) along with some other NXT-G goodies). I use this all the time to display values for debugging. John (17 years ago, 19-Nov-07, to lugnet.robotics.nxt)
|
|
| | Re: Nxc and Mindsensors stuff
|
|
It seems you don't have the latest NXC*.h header files (found in source release of NXC, not in the binary releases), as well as the latest NXC_Guide.pdf describing I2C functions. alf Il giorno 12-nov-2007, alle ore 16:59, GiP ha scritto: (...) -- (...) (17 years ago, 18-Nov-07, to lugnet.robotics.nxt)
|
|
| | Re: Displaying multiple variables
|
|
(...) Nice. Thanks very much. When I get to my computer, I'm going to check to see how I missed the "Clear Screen" checkbox. (17 years ago, 17-Nov-07, to lugnet.robotics.nxt)
|
|
| | Re: Displaying multiple variables
|
|
(...) There are lots of ways to display such information on the NXT LCD. The easiest is probably to draw one number, and then use a second Display block to draw a second number - just uncheck the "clear screen" checkbox on the second Display block. (...) (17 years ago, 17-Nov-07, to lugnet.robotics.nxt)
|
|
| | Displaying multiple variables
|
|
Yesterday, I had a student who wished to display two numeric variables on the screen. We ended up multiplying the first by 1000 then adding the second. This we displayed and read as a packed variable with two shifted values. How can we do this more (...) (17 years ago, 17-Nov-07, to lugnet.robotics.nxt)
|
|
| | Format of the NXT-G program files?
|
|
Hi, Am I correct that there are no utilities for inspecting the NXT-G programs created with the RoboLab for NXT? I mean: printing the programs created in NXT-G in some human-readable format? Any documentation about the binary format anywhere? (...) (17 years ago, 8-Nov-07, to lugnet.robotics.nxt)
|