Having a problem getting the Vibrator Plugin to work using the pattern option.
My code works fine using, vibrator.vibrate(duration). But I get nothing when using the pattern vibrator.vibrate(pattern, [repeat]).
Suggestions? Thanks
local function alert() if segment1=="1" then vibrator.vibrate(100) elseif segment1=="2" then vibrator.vibrate(300) elseif segment1=="3" then vibrator.vibrate(500) elseif segment1=="4" then vibrator.vibrate(700) elseif segment1=="5" then vibrator.vibrate({500,500}) elseif segment1=="6" then vibrator.vibrate({500,500,500}) end end