Current location - Quotes Website - Team slogan - Serial communication problem of single chip microcomputer
Serial communication problem of single chip microcomputer
Printf is a library function, so it is best not to use it for serial communication. Write your own serial communication program, which can be query mode or interrupt mode, which is very simple. If you use this function, the sending process of its function is unknown, and the compiled code is very long, occupying the resources of single chip microcomputer, and it is also unknown, so there will be some unknown things, and I don't know how to deal with them.