mirror of
https://github.com/drasko/open-ameba.git
synced 2024-11-24 23:14:17 +00:00
18 lines
316 B
Text
18 lines
316 B
Text
|
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
|
||
|
|
||
|
|