README


pwmled


Example Summary

Sample application to control on-board LEDs with the PWM driver.

Peripherals Exercised

Resources & Jumper Settings

If you’re using an IDE (such as CCS or IAR), please refer to Board.html in your project directory for resources used and board-specific jumper settings. Otherwise, you can find Board.html in the directory <SDK_INSTALL_DIR>/source/ti/boards/<BOARD>.

Example Usage

Application Design Details

This application uses one thread, mainThread , which performs the following actions:

  1. Opens and initializes PWM driver objects.

  2. Uses the PWM driver to change the intensity of the LEDs.

  3. The thread sleeps for 50 milliseconds before changing LED intensity again.

TI-RTOS:

FreeRTOS: