pebble-dev / RebbleOS

open source operating system for low-power smartwatches
Other
355 stars 38 forks source link

Add PWM to vibrate #53

Open ginge opened 6 years ago

ginge commented 6 years ago

Currently vibrate can be on or off. On is too aggressive. We need to be able to control the speed. Enter PWM.

Setup the pin to output a controllable PWM signal to give a nice smooth vibrate along (say) a 16 bit int