GithubHelp home page GithubHelp logo

ppi_pwm_hands_on's Introduction

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!

ppi_pwm_hands_on's People

Contributors

edvinand avatar

Stargazers

Berkay Arslan avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.