DCMotor
Object Hierarchy:
Description:
public class DCMotor :
Device
Represents a simple DC motor.
Content:
Properties:
Methods:
- public void send_command (string command) throws Error
Send a command to the motor controller.
- public void set_duty_cycle_sp (int duty_cycle) throws Error
Set the duty cycle setpoint for the motor.
- public void set_time_sp (int time) throws Error
Set the time setpoint in milliseconds for the motor.
- public void set_stop_command (string command) throws Error
Set the stop command for the motor.
Inherited Members:
All known members inherited from class EV3devKit.Devices.Device
All known members inherited from class GLib.Object
- @new
- newv
- new_valist
- get_type
- get_class
- @ref
- unref
- ref_sink
- weak_ref
- weak_unref
- add_weak_pointer
- remove_weak_pointer
- @get
- @set
- get_property
- set_property
- get_data
- set_data
- set_data_full
- steal_data
- get_qdata
- set_qdata
- set_qdata_full
- steal_qdata
- freeze_notify
- thaw_notify
- dispose
- constructed
- notify_property
- connect
- disconnect
- add_toggle_ref
- remove_toggle_ref
- bind_property
- notify
- ref_count