User Manual
GD32450I-EVAL
34
/
51
<22_RTC_Calendar> to the EVAL board and run. Connect serial cable to EVAL_COM1,
open the HyperTerminal. When the program is running, HyperTerminal display the
default time. When you press wakeup key, time will be reconfigured and display.
5.23
TIMER_Breath_LED
5.23.1
DEMO Purpose
This demo includes the following functions of GD32 MCU:
Learn to use Timer output PWM wave
Learn to update channel value
5.23.2
DEMO Running Result
Use the DuPont line to connect the TIMER1_CH2 (PB10) and LED1 (PE2), and then
download the program <23_TIMER_Breath_LED> to the GD32450I-EVAL board and
run. PB10 should not be reused by other peripherals, such as USB_HS_ULPI.
When the program is running, you can see LED1 lighting from dark to bright gradually
and then gradually darken, ad infinitum, just like breathing as rhythm.