ameba-sdk-gcc-make/project/realtek_ameba1_va0_example/example_sources/gtimer/readme.txt
2016-06-04 19:09:35 +08:00

17 lines
333 B
Text
Executable file

Example Description
This example describes how to use general timer.
Requirement Components:
2 LED
Connect the two LED to port PC_0 and PC_1 respectivly.
Behavior:
The two LED will blink at different frequence.
Two timers are intialized in this example
(1) Periodic timer
(2) One shut timer