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

How to make a simple LED blink program

Hello Everyone

I am really new to everything here, i just got nRF 52832 board,

Can anyone please tell me the step-by- step method on how to make a program in keil uVision.

Any help will be greatly appreciated.

thanks in advance

Parents Reply
  • For beginners I would recommend using the pwm library, since it’s not as complicated as the pwm driver.

    There is a good example in SDK_folder\examples\peripheral\pwm_library. The period will depend on the frequency(frequency = 1 /period). If you look at the example, the period is configured using APP_PWM_DEFAULT_CONFIG_2CH() / APP_PWM_DEFAULT_CONFIG_1CH(). The duty cycle is set using the function app_pwm_channel_duty_set().

Children
No Data
Related