DRV2605 Haptic Driver

Overview

This sample demonstrates how to configure a ROM playback event on the DRV2605 and executes playback of a tapping rhythmic pattern.

Building and Running

Build the application for the ST Nucleo F401RE board, and connect a DRV2605 haptic driver on the bus I2C1 at the address 0x5A.

west build -b nucleo_f401re samples/drivers/haptics/drv2605

For flashing the application, refer to the Flashing section of the ST Nucleo F401RE board documentation.

*** Booting Zephyr OS build v3.7.0-5-g3b4f8d80850e ***
[00:00:00.103,000] <inf> main: Found DRV2605 device drv2605@5a

References

See also

Haptics Interface