C# Class TinBot.Operations.ServoController

显示文件 Open project: marcodiniz/TinBot

Public Methods

Method Description
Attach ( ) : System.Threading.Tasks.Task
Deattach ( ) : System.Threading.Tasks.Task
Move ( int targetPosition, int speed = 10, int acceleration = 1 ) : System.Threading.Tasks.Task
ServoController ( ) : System
ServoController ( RemoteDevice device, byte pin, bool inverse = false, int delay = 10 ) : System

Method Details

Attach() public method

public Attach ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Deattach() public method

public Deattach ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Move() public method

public Move ( int targetPosition, int speed = 10, int acceleration = 1 ) : System.Threading.Tasks.Task
targetPosition int
speed int
acceleration int
return System.Threading.Tasks.Task

ServoController() public method

public ServoController ( ) : System
return System

ServoController() public method

public ServoController ( RemoteDevice device, byte pin, bool inverse = false, int delay = 10 ) : System
device RemoteDevice
pin byte
inverse bool
delay int
return System