C# Class ev3dev.Motor

Inheritance: Device
Datei anzeigen Open project: pgrudzien12/csharp-ev3 Class Usage Examples

Public Methods

Method Description
CreateLargeMotor ( string port ) : Motor
CreateMediumMotor ( string port ) : Motor
Motor ( string port ) : System
Motor ( string port, string motorType ) : System
commands ( ) : string[]
driver_name ( ) : string
reset ( ) : void
run_direct ( ) : void
run_forever ( ) : void
run_timed ( ) : void
run_to_abs_pos ( ) : void
run_to_rel_pos ( ) : void
set_command ( string v ) : void
stop ( ) : void

Protected Methods

Method Description
Connect ( string[]>.IDictionary match ) : bool

Method Details

Connect() protected method

protected Connect ( string[]>.IDictionary match ) : bool
match string[]>.IDictionary
return bool

CreateLargeMotor() public static method

public static CreateLargeMotor ( string port ) : Motor
port string
return Motor

CreateMediumMotor() public static method

public static CreateMediumMotor ( string port ) : Motor
port string
return Motor

Motor() public method

public Motor ( string port ) : System
port string
return System

Motor() public method

public Motor ( string port, string motorType ) : System
port string
motorType string
return System

commands() public method

public commands ( ) : string[]
return string[]

driver_name() public method

public driver_name ( ) : string
return string

reset() public method

public reset ( ) : void
return void

run_direct() public method

public run_direct ( ) : void
return void

run_forever() public method

public run_forever ( ) : void
return void

run_timed() public method

public run_timed ( ) : void
return void

run_to_abs_pos() public method

public run_to_abs_pos ( ) : void
return void

run_to_rel_pos() public method

public run_to_rel_pos ( ) : void
return void

set_command() public method

public set_command ( string v ) : void
v string
return void

stop() public method

public stop ( ) : void
return void