You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
3 months ago | |
|---|---|---|
| .. | ||
| EIDE | 3 months ago | |
| EWARM | 3 months ago | |
| Inc | 3 months ago | |
| MDK-ARM | 3 months ago | |
| Src | 3 months ago | |
| readme.txt | 3 months ago | |
readme.txt
================================================================================
样例使用说明
Sample Description
================================================================================
功能描述:
此样例演示了GPIO输出模式,配置LED引脚为数字输出模式,并且每隔250ms翻转一次LED引
脚电平。运行程序后,可以看到LED灯以2Hz的频率闪烁。
Function descriptions:
This sample demonstrates the GPIO output mode. It configures the LED pin as a
digital output mode and toggles the LED pin level every 250ms. After running
the program, you can observe the LED blinking at a frequency of 2Hz.
================================================================================
测试环境:
测试用板:PY32F403_STK
MDK版本:5.28
IAR版本:9.20
GCC版本:GNU Arm Embedded Toolchain 10.3-2021.10
Test environment:
Test board: PY32F403_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤:
1. 编译下载程序到MCU,并运行;
2. 可观察到STK板上的LED以2Hz的频率闪烁。
Example execution steps:
1. Compile and download the program to the MCU and run it;
2. Observe the LED on the STK board blinking at a frequency of 2Hz.
================================================================================
注意事项:
Notes:
================================================================================