1 2 3 4 5 6 7 8
#include "main.h" extern void do_haptic(int count) { haptic_device_h handle; device_haptic_open(0, &handle); device_haptic_vibrate(handle, count, 0, 0); }