LEGO Engineering

| | | | | | | |
How do you program in ROBOLAB with an NXT rotation sensor in ports A-C?


23rd of April, 2010

(4 )
75% thumbs up 25% thumbs down

With the NXT, the rotation sensors are built into the motors, so they connect to the brick through ports A-C instead of ports 1-4.

There are special icons in ROBOLAB
to use when programming with the rotation sensors. In the NXT Commands category, there are icons called Encoder A, B, C and also icons called The Value of Encoder A, B, C. Use the Encoder icons the same way you would use the green input number icons and use the Value of Encoder icons the same way you would use the blue port value number icons.

encoder1.bmp

encoder4.bmp





ks
   :
   :
* :
* :