C# Class CyrusBuilt.MonoPi.Components.Motors.MotorRotateEventArgs

Motor rotate event arguments class.
Inheritance: System.EventArgs
ファイルを表示 Open project: cyrusbuilt/MonoPi Class Usage Examples

Public Methods

Method Description
MotorRotateEventArgs ( Int32 steps ) : System

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Motors.MotorRotateEventArgs class with the steps being taken.

Method Details

MotorRotateEventArgs() public method

Initializes a new instance of the CyrusBuilt.MonoPi.Components.Motors.MotorRotateEventArgs class with the steps being taken.
public MotorRotateEventArgs ( Int32 steps ) : System
steps System.Int32 /// The steps being taken. 0 steps = stopped. Greater than 0 = the number /// of steps forward. Less than 0 = the number of steps moving backward. ///
return System