23 lines
408 B
Plaintext
23 lines
408 B
Plaintext
|
Name:
|
||
|
=====
|
||
|
binary_counter
|
||
|
|
||
|
|
||
|
Description:
|
||
|
============
|
||
|
Example that displays the timer count on the LEDs.
|
||
|
|
||
|
|
||
|
Purpose:
|
||
|
========
|
||
|
This example increments a variable on every timer interrupt. The global
|
||
|
variable is used to set the state of the LEDs. The example sleeps otherwise.
|
||
|
|
||
|
Printing takes place over the ITM at 1M Baud.
|
||
|
|
||
|
|
||
|
|
||
|
******************************************************************************
|
||
|
|
||
|
|