While the adafruit_drv205 library can be used to select an effect for the haptic vibrator using the ids from table 11.2: https://www.ti.com/lit/ds/symlink/drv2605.pdf#page=57, it would be a lot more user-friendly if the datasheet didn't need to be referenced. A solution could be a function/method and local look-up table (like a dictionary) of popular effects with easy-to-remember names that would play the desired effect. This isn't strictly necessary to implement but would make using any haptic function more straightforward and expressive to write.
While the
adafruit_drv205library can be used to select an effect for the haptic vibrator using the ids from table 11.2: https://www.ti.com/lit/ds/symlink/drv2605.pdf#page=57, it would be a lot more user-friendly if the datasheet didn't need to be referenced. A solution could be a function/method and local look-up table (like a dictionary) of popular effects with easy-to-remember names that would play the desired effect. This isn't strictly necessary to implement but would make using any haptic function more straightforward and expressive to write.