For more information, please see the CodePlex project page and the Getting Started guide.The DirectCommand type exposes the following members.
Back to Top
Methods
Name | Description | |
---|---|---|
CleanUIAsync |
Clear the entire screen
| |
ClearAllDevices |
Resets all ports and devices to defaults.
| |
ClearChanges |
Clears changes on specified port
| |
DrawCircleAsync |
Draw a circle
| |
DrawDottedLineAsync |
Draw a dotted line
| |
DrawFillWindowAsync |
Fills the width of the screen between the provided Y coordinates
| |
DrawImageAsync |
Draw an image to the LCD screen
| |
DrawInverseRectangleAsync |
Draw a filled rectangle, inverting the pixels underneath it
| |
DrawLineAsync |
Draw a line on the EV3 LCD screen
| |
DrawPixelAsync |
Draw a single pixel
| |
DrawRectangleAsync |
Draw a rectangle
| |
DrawTextAsync |
Write a string to the screen
| |
EnableTopLineAsync |
Enable or disable the top status bar
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDeviceNameAsync |
Get the name of the device attached to the specified port
| |
GetFirmwareVersionAsync |
Return the current version number of the firmware running on the EV3 brick.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetModeNameAsync |
Get the mode of the device attached to the specified port
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetTypeModeAsync |
Get the type and mode of the device attached to the specified port
| |
IsBrickButtonPressedAsync |
Returns whether the specified BrickButton is pressed
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PlaySoundAsync |
Play a sound file stored on the EV3 brick
| |
PlayToneAsync |
Plays a tone of the specified frequency for the specified time.
| |
ReadyPercentAsync |
Read the percent value from the specified port in the specified mode
| |
ReadyRawAsync |
Read the raw value from the specified port in the specified mode
| |
ReadySIAsync |
Read the SI value from the specified port in the specified mode
| |
SelectFontAsync |
Select the font for text drawing
| |
SetLedPatternAsync |
Set EV3 brick LED pattern
| |
SetMotorPolarity |
Set the polarity (direction) of a motor.
| |
StartMotorAsync |
Start motors on the specified ports.
| |
StepMotorAtPowerAsync(OutputPort, Int32, UInt32, Boolean) |
Step the motor connected to the specified port or ports at the specified power for the specified number of steps.
| |
StepMotorAtPowerAsync(OutputPort, Int32, UInt32, UInt32, UInt32, Boolean) |
Step the motor connected to the specified port or ports at the specified power for the specified number of steps.
| |
StepMotorAtSpeedAsync(OutputPort, Int32, UInt32, Boolean) |
Step the motor connected to the specified port or ports at the specified speed for the specified number of steps.
| |
StepMotorAtSpeedAsync(OutputPort, Int32, UInt32, UInt32, UInt32, Boolean) |
Step the motor connected to the specified port or ports at the specified speed for the specified number of steps.
| |
StepMotorSyncAsync |
Synchronize stepping of motors.
| |
StopMotorAsync |
Stops motors on the specified ports.
| |
TimeMotorSyncAsync |
Synchronize timing of motors.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TurnMotorAtPowerAsync |
Turn the motor connected to the specified port or ports at the specified power.
| |
TurnMotorAtPowerForTimeAsync(OutputPort, Int32, UInt32, Boolean) |
Turn the motor connected to the specified port or ports at the specified power for the specified times.
| |
TurnMotorAtPowerForTimeAsync(OutputPort, Int32, UInt32, UInt32, UInt32, Boolean) |
Turn the motor connected to the specified port or ports at the specified power for the specified times.
| |
TurnMotorAtSpeedAsync |
Turn the specified motor at the specified speed.
| |
TurnMotorAtSpeedForTimeAsync(OutputPort, Int32, UInt32, Boolean) |
Turn the motor connected to the specified port or ports at the specified speed for the specified times.
| |
TurnMotorAtSpeedForTimeAsync(OutputPort, Int32, UInt32, UInt32, UInt32, Boolean) |
Turn the motor connected to the specified port or ports at the specified speed for the specified times.
| |
UpdateUIAsync |
Refresh the EV3 LCD screen
|
See Also