Class NXTe

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, SensorConstants, SensorMode, SensorModes, SampleProvider

    public class NXTe
    extends I2CSensor
    Abstraction for a Lattebox NXT Extension Kit with Lattebox 10-Axis Servo Kit http://www.lattebox.com UML: http://www.juanantonio.info/p_research/robotics/lejos/nxj/lattebox/LatteboxNXTeKit.png
    Author:
    Juan Antonio Brenha Moral
    • Constructor Detail

      • NXTe

        public NXTe​(I2CPort port)
        Constructor
        Parameters:
        port -
      • NXTe

        public NXTe​(Port port)
    • Method Detail

      • addLSC

        public void addLSC​(int SPI_PORT)
                    throws java.lang.ArrayIndexOutOfBoundsException
        Add a LSC, Lattebox Servo Controller
        Parameters:
        SPI_PORT -
        Throws:
        java.lang.Exception
        java.lang.ArrayIndexOutOfBoundsException
      • getLSC

        public LSC getLSC​(int index)
        Get a LSC, Lattebox Servo Controller
        Parameters:
        index - in the array
        Returns:
        the LSC object