ROBOTC.net forums
http://robotc.net/forums/

Help with Mindsensors NXTMMX
http://robotc.net/forums/viewtopic.php?f=41&t=8010
Page 1 of 1

Author:  OLLrobotics [ Fri Feb 21, 2014 2:00 pm ]
Post subject:  Help with Mindsensors NXTMMX

I am trying to figure out how to utilize the sensor port for the NxtMMX. I have downloaded the sample mindsensors-motormux-test1 and the motors work when I run the sample program. I need to be able to plug in an NXT ultrasonic sensor or NXT touch sensor into the sensor port in the NXTMMX. The only items in the sample program are the motors (mmotor_S1_1);
(mmotor_S1_2);I don't see any examples of how I would define something for the sensor port and how to use them. Any help or examples would be appreciated.
We are using RobotC 3.62 and the 3rd Party Drivers v3.3.1

Author:  MHTS [ Fri Feb 21, 2014 3:20 pm ]
Post subject:  Re: Help with Mindsensors NXTMMX

OLLrobotics wrote:
I am trying to figure out how to utilize the sensor port for the NxtMMX. I have downloaded the sample mindsensors-motormux-test1 and the motors work when I run the sample program. I need to be able to plug in an NXT ultrasonic sensor or NXT touch sensor into the sensor port in the NXTMMX. The only items in the sample program are the motors (mmotor_S1_1);
(mmotor_S1_2);I don't see any examples of how I would define something for the sensor port and how to use them. Any help or examples would be appreciated.
We are using RobotC 3.62 and the 3rd Party Drivers v3.3.1

I have not used the Mindsensors Motor MUX before but since the name said Motor MUX, I would expect it only works with motors not sensors. If you want to use sensors you should get the Hitechnic Sensor MUX instead.
http://www.hitechnic.com/cgi-bin/commer ... ey=NSX2020

Author:  mightor [ Fri Feb 21, 2014 3:40 pm ]
Post subject:  Re: Help with Mindsensors NXTMMX

The motor mux has a pass-through port, so you'd define an additional port name (as well as the standard pragmas):
Code:
#define ULTRASOUND S1

and then use the functions from the lego-us driver that is part of my suite.

= Xander

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/