The NXTBrick type exposes the following members.

Methods

  NameDescription
ClearSensorOverloaded.
Connect
Connect to NXT brick.
Disconnect
Disconnect from Lego NXT brick.
Finalize
Destroys the instance of the NXTBrick class.
(Overrides Object..::.Finalize()()().)
GetBatteryPower
Get battery power of NXT brick.
GetDeviceInformation
Get information about NXT device.
GetMotorState
Get motor state.
GetSensorValue
Get sensor's values.
GetUltrasonicSensorsValue
Read value of ultrasonic distance sensor.
GetVersion
Get firmware version of NXT brick.
IsAlive
Check if the NXT brick is alive and responds to messages.
LsGetStatus
Get status of Low Speed bus.
LsRead
Read data from Low Speed bus.
LsWriteOverloaded.
PlayToneOverloaded.
ReadHiTechnicAccelerationTiltSensor
Read data from HiTechnic acceleration/tilt sensor. The HiTechnic accelerometer/tilt sensor measures acceleration in three axes. It measures also tilt along each axis. Using the sensor, you can measure the acceleration of your robot in the range of -2g to 2g.
ReadHiTechnicColorSensor
Read data from HiTechnic color sensor (also color sensor v2).
ReadHiTechnicCompassSensor
Read data from HiTechnic compass sensor.
ResetMotorPositionOverloaded.
SendCommand
Send command to Lego NXT brick and read reply.
SetBrickName
Set name of NXT device.
SetMotorStateOverloaded.
SetSensorModeOverloaded.

See Also