Skip to content

edvinand/ppi_pwm_hands_on

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ppi_pwm_hands_on

In this hands-on we want to explore the PPI of the nRF52. This sample is pretty much "hardcoded" for the nRF52840dk_nrf52840, but if you want to run it on another nRF52xxx device, all you should need to do is to change these definitions on line 29 in main.c:

#define LED_1   13  // From the description on the back of the DK
#define LED_2   14  // From the description on the back of the DK
#define LED_3   15  // From the description on the back of the DK
#define LED_4   16  // From the description on the back of the DK

Tested with nRF Connect v1.7.1.
The project should compile without changes. Just copy it into the folder where you keep your personal nRF Connect for SDK projects, and use the option "Add an existing application" in the welcome tab, and navigate to the ppi_pwm_hands_on folder. By default it should use the PWM signal generated to "breathe" with LED1. Your job is to add the other LEDs to the mix.

The instructions are found in main.c. Look for this line to get started:

//  STEP 1: Implement a method for initializing PWM channel 1, for a total of 2 individual PWM channels

Useful Documentation:

Here are some useful links for this hands-on:


Good luck!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published