The RCXBrick type exposes the following members.
Constructors
Methods
| Name | Description | |
|---|---|---|
| ClearSensor |
Clear the counter associated with the specified sensor by setting it to a value of zero.
| |
| Connect |
Connect to Lego RCX brick.
| |
| Disconnect |
Disconnnect from Lego RCX brick.
| |
| Finalize |
Destroys the instance of the RCXBrick class.
(Overrides Object..::.Finalize()()().) | |
| GetBatteryPower |
Get battery power of RCX brick.
| |
| GetSensorValue |
Get sensor's value.
| |
| GetVersion |
Get version information of RCX brick.
| |
| IsAlive |
Check if the RCX brick is alive and responds to messages.
| |
| PlaySound |
Play one of supported sounds.
| |
| PlayTone |
Play tone of specified frequency.
| |
| PowerOff |
Turn off the RCX brick.
| |
| SendCommand |
Send command to Lego RCX brick and read reply.
| |
| SetMotorDirection |
Set direction of specified motors.
| |
| SetMotorOn |
Turn on/off specified motors.
| |
| SetMotorPower |
Set power of specified motors.
| |
| SetSensorMode |
Set sensor's mode.
| |
| SetSensorType |
Set sensor's type.
| |
| SetTime |
Set current time for the RCX brick.
| |
| SetTransmitterRange |
Set IR transmitter's range.
|
Properties
| Name | Description | |
|---|---|---|
| IsConnected |
Check if connection to RCX brick is established.
|