This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

simple PWM example to work with buzzer and vibration motor

Hi 

I've checked the two PWM examples in SDK, pwm_driver and pwm_library, they seem too complex for me to understand, does anyone know where I can find a simple PWM example? 

I only want to be able to control the frequency of buzzer sound and how strong the vibration motor vibrate. 

I had tested both with Ardunio with some examples, but it seems way more complicated to do it with nrf52 DK.

I'm using PCA10040, nrf52 DK and SEGGER Embedded Studio. 

Any help will be appreciated.

Cindy

Parents Reply Children
Related