First, the first to detect what you are or are not students
This code think?
Every time come here are waiting for completion of transmission !!!!
How to improve?
I know when you learn 51 often do! I also like this for a long time, after a long period of testing, in fact, 51 can also be used to transmit data interrupt
Gave us a template, we all test
Second, it opens the STM32 serial port transmit interrupt, the interrupt allowed to use to send data
Third, the test
Fourth, the current program runs to send data
Just execution
The remaining work is to teach the serial port transmit interrupt! Program is no longer parked in here waiting to be sent to complete!