Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DRV2605 by
You are viewing an older revision! See the latest version
Homepage
- include "mbed.h"
- include "DRV2605.h" DRV2605 haptics(p9, p10); NEEDE FOR KCIKSTART
PwmOut base(p26); NEEDED for BOOSTER CIRCUIT
int main() { base.period(.000001);1MHz base=.5;50% duty cycle
FOLLOWING NEEDED FOR KICKSTART
haptics.init(3.3); Motor initialization will cause a 1 second vibration wait(2); uint8_t stats=haptics.kick_start_my_heart(10, 1); Intensity range 1-10, duratio range 1-8
printf("dig %X/n",haptics.init(3.3)); }