HapticΒΆ
The Haptic class interacts with the haptic driver pin to drive a buzzer or motor. Circuit diagrams for the haptic driver are in section 8 of the product spec.
using MbientLab.MetaWear.Peripheral;
// Run a buzzer for 500ms
metawear.GetModule<IHaptic>().StartBuzzer(500);
// Run a motor for 1000ms at 50% strength
metawear.GetModule<IHaptic>().StartMotor(1000, 50f);