BRML Drivers


LinmotT

Namespace: BRML.Drivers
Parent Module: Linmot

Linmot driver. The driver is fully thread-safe.

Constructors

ConstructorDescription
new(config)
Signature: config:LinmotCfgT -> LinmotT

CompiledName: .ctor

Instance members

Instance memberDescription
Dispose()
Signature: unit -> unit

Dispose the driver and close the serial port.

DriveTo(pos, vel, accel, decel)
Signature: (pos:float * vel:float option * accel:float option * decel:float option) -> Async<unit>

Drives to the specified position with the specified velocity using the specified linear acceleration and deceleration.

Home(force)
Signature: (force:bool option) -> Async<unit>

Homes the motor. If force is false (the default), then the homing operation is only performed, if the drive is not currently homed.

Pos
Signature: float

The current motor position.

CompiledName: get_Pos

Power(pwr)
Signature: pwr:bool -> Async<unit>

Switches the motor power accordingly. (true=on, false=off)

Fork me on GitHub