CS40L26 Haptic Driver
Overview
CS40L26/27 is a family of haptics drivers designed for mobile applications.
This sample demonstrates ROM features available on CS40L26/27 haptics drivers, including ROM and buzz effects. A custom shell interface is provided that exposes the CS40L26/27 API; a basic demonstration is provided if the custom shell interface is not used.
Building and Running
Build the application for the Nucleo F401RE board, and connect a CS40L26/27 haptic driver on the bus I2C1 at the address 0x40.
west build -b nucleo_f401re samples/drivers/haptics/cs40l26
For flashing the application, refer to the Flashing sections of the Nucleo F401RE board documentation.