2552 views|3 replies

1412

Posts

15

Resources
The OP
 

GD32F350 running water lamp experiment [Copy link]

After setting up the environment last week, I started to get familiar with the entire board this week. First, I learned about the display of the LED light. GD32 and STM32 are similar. Both can be operated by library functions or registers. This time I used library functions. 1. First, let's understand the interface between the LED module and the CPU. LED5, LED6, and LED7 are connected to PB8, PB9, and PB10 of the CPU respectively. 3. The clock source must be turned on when configuring the port. The clock of GPIOB is on the AHB clock bus. 3. The working mode and pin number of the port GPIO output must also be configured. 3. The working mode and pin number of the port GPIO output must also be configured. 3. The working mode and pin number of the port GPIO output must also be configured. file:///C:/Users/ADMINI~1/AppData/Local/Temp/msohtmlclip1/01/clip_image005.jpg
4. The last step is to write code to display the running light
5. Experimental phenomenon
This water lamp is now configured, and we will learn other modules next.

1.png (20.92 KB, downloads: 0)

1.png

2.png (50.72 KB, downloads: 0)

2.png

3.png (98.22 KB, downloads: 0)

3.png
This post is from GD32 MCU

Latest reply

Come on, come on! Question: How do you become an IT expert? Reply: I remember when I first joined the company, the code I wrote was a mess, full of errors and bugs. Not only did the project manager scold me, but other colleagues also complained about me. Later, I heard from a friend that I signed up for a training course. After one month of hard study, my hard work finally paid off - they couldn't scold me anymore.  Details Published on 2018-9-19 16:02
Personal signaturehttp://en.eeworld.com/bbs/thread-471646-1-1.html
欢迎加入我的团队
 

1368

Posts

6

Resources
2
 
It's a bit of a waste to use such a powerful chip only to play the flowing light. Come on, learn other functions as soon as possible!
This post is from GD32 MCU
 
Personal signature专注智能产品的研究与开发,专注于电子电路的生产与制造……QQ:2912615383,电子爱好者群: void
 
 

6063

Posts

4

Resources
3
 
Come on
This post is from GD32 MCU
 
 
 

31

Posts

0

Resources
4
 
Come on, come on! Question: How do you become an IT expert? Reply: I remember when I first joined the company, the code I wrote was a mess, full of errors and bugs. Not only did the project manager scold me, but other colleagues also complained about me. Later, I heard from a friend that I signed up for a training course. After one month of hard study, my hard work finally paid off - they couldn't scold me anymore.
This post is from GD32 MCU
 
 
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list