README


timerled


Example Summary

Sample application to periodically toggle an LED based off a timer.

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. The timer is operating in Timer_CONTINUOUS_CALLBACK mode which causes the callback function, timerCallback, to be called at a rate specified by period. A period of 1,000,000 microseconds or 1 second is used. Because the LED is toggled each time timerCallback is called, the observed frequency the LED blinks is once every 2 seconds.

TI-RTOS:

FreeRTOS: