5

I need to use multiple bricks in order to use more motors and sensors. I need to read sensor values, and tell motors to move.

I've tried using bluetooth, however my attempts haven't been very successful. I know you can pre-define motors/sensors, and then set parameters using remoteGetInputValues(), and the equivalent for motors.

Whilst playing around with this, I have noticed it doesn't work inside a loop, or inside it's own function?

Does anyone know of any tricks/hints/proper instructions on how to work it out? I've tried looking everywhere for this.

The firmware is up to date, and I am programming in NXC.

user3089
  • 91
  • 4

1 Answers1

2

Maybe you should look into using a multiplexer to add additional sensors to an NXT brick.

The Hitechnic Sensor Multiplexer lets you connect 4 sensors using only 1 of the NXT connection.

enter image description here

The same thing can be done with motors. For example using the Mindsensors NXTMMX, you can add 2 additional motors per multiplexer (even better, if you daisy-chain the multiplexers together you can control more motors than you'll ever need)

enter image description here

pcantin
  • 13,483
  • 8
  • 46
  • 90