Files
PY32_Support/Firmware/Projects/PY32F002B-STK/Example/GPIO/GPIO_Toggle
2025-02-28 12:32:54 +03:00
..
2025-02-28 12:32:54 +03:00
2025-02-28 12:32:54 +03:00
2025-02-28 12:32:54 +03:00
2025-02-28 12:32:54 +03:00
2025-02-28 12:32:54 +03:00

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
================================================================================
                                样例使用说明
                             Sample Description
================================================================================
功能描述:
此样例演示了GPIO输出模式配置LED引脚(PA1)为数字输出模式并且每隔250ms翻转一次
LED引脚电平运行程序可以看到LED灯以2Hz的频率闪烁。

Function descriptions:
This example demonstrates the GPIO output mode, configuring the LED pin (PA1)
to be in digital output mode, and flipping the LED pin level every 250ms. 
Running the program, you can see that the LED light flashes at a frequency 
of 2Hz.
================================================================================
测试环境:
测试用板PY32F002B_STK
MDK版本 5.28
IAR版本 9.20

Test environment:
Test board: PY32F002B_STK
MDK Version: 5.28
IAR Version: 9.20
================================================================================
使用步骤:
1. 编译下载程序到MCU并运行
2. 可观察到STK板上的LED以2Hz的频率闪烁。

Example execution steps:
1.Compile and download the program to MCU and run it;
2.It can be observed that the LED on the STK board flashes at a frequency of 2Hz.
================================================================================
注意事项:

Notes:
================================================================================