The NXTBrick type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| ClearSensor |
Clear sensor's scaled value.
| |
| 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.
| |
| LsWrite |
Write to Low Speed bus.
| |
| PlayTone |
Play tone of specified frequency.
| |
| ResetMotorPosition |
Reset motor's position.
| |
| SendCommand |
Send command to Lego NXT brick and read reply.
| |
| SetBrickName |
Set name of NXT device.
| |
| SetMotorState |
Set motor state.
| |
| SetSensorMode |
Set sensor's type and mode.
|
Properties
| Name | Description | |
|---|---|---|
| IsConnected |
Check if connection to NXT brick is established.
|