mirror of
https://github.com/cwyark/ameba-sdk-gcc-make.git
synced 2024-11-24 06:54:19 +00:00
13 lines
No EOL
379 B
Text
Executable file
13 lines
No EOL
379 B
Text
Executable file
Example Description
|
|
|
|
This example describes how to use pwm
|
|
|
|
Requirement Components:
|
|
1~4 LED
|
|
|
|
Connect LED to below PWM pins and ground, then the LED would gradually become brighter and then darker with different speed.
|
|
- connect a LED to PC_0 and ground
|
|
- connect a LED to PC_1 and ground
|
|
- connect a LED to PC_2 and ground
|
|
- connect a LED to PC_3 and ground
|
|
|