mirror of
https://github.com/taubel/sdk-ameba-v4.0b-gcc.git
synced 2026-07-06 11:25:44 +00:00
17 lines
335 B
Text
17 lines
335 B
Text
Example Description
|
|
|
|
This example describes how to use general timer.
|
|
|
|
Requirement Components:
|
|
2 LED
|
|
|
|
Connect the two LED to port PA_12 and PA_23 respectivly.
|
|
|
|
Behavior:
|
|
The two LED will blink at different frequence.
|
|
|
|
Two timers are intialized in this example
|
|
(1) Periodic timer
|
|
(2) One shut timer
|
|
|
|
|