The OP
Published on 2018-10-1 19:11
Only look at the author
This post is from GD32 MCU
Latest reply
I have encountered a problem when calling printf in C51. I had to set TI=1 first to work properly. The reason is that the printf function calls the putchar function for input, and putchar should first determine whether TI is 1. If it is not 1, it will wait for it to be 1. If it is 1, it will clear 0 and then send a character. The problem mentioned by the original poster needs to check the execution process of this function to find out the cause.
Details
Published on 2018-10-8 08:59
| ||
|
||
2
Published on 2018-10-8 08:59
Only look at the author
This post is from GD32 MCU
Comments | ||
|
||
|
This post is from GD32 MCU
| ||
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190