Gets or sets the engaged property of the servo motor.
Namespace:
PhidgetsAssembly: Phidget21.NET (in Phidget21.NET.dll) Version: 2.1.9.34
Syntax
| C# |
|---|
public bool Engaged { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property Engaged As Boolean |
| Visual C++ |
|---|
public: property bool Engaged { bool get (); void set (bool value); } |
Remarks
Setting this to true sends the servo to the currently set position - and holds it there. Setting this to false will send a pwm of 0 to the servo, which removes the holding force, so the servo can be freely rotated by hand.
Exceptions
| Exception | Condition |
|---|---|
| Phidgets..::.PhidgetException | If this Phidget is not opened and attached. |