Interface Power

    • Method Detail

      • getVoltageMilliVolt

        int getVoltageMilliVolt()
        The NXT uses 6 batteries of 1500 mV each.
        Returns:
        Battery voltage in mV. ~9000 = full.
      • getVoltage

        float getVoltage()
        The NXT uses 6 batteries of 1.5 V each.
        Returns:
        Battery voltage in Volt. ~9V = full.
      • getBatteryCurrent

        float getBatteryCurrent()
        Return the current draw from the battery
        Returns:
        current in Amps
      • getMotorCurrent

        float getMotorCurrent()
        return the motor current draw
        Returns:
        current in Amps