Published February 22, 2022 | Version v1
Software Open

Serial communication

Authors/Creators

  • 1. Changchun University of Technology

Description

Initialize the serial port, and the MCU stores the received serial port numbers in a buff[] array. Then use the printf function to display the numbers in the buff[] array to the serial port tool. This array is unsigned integer data, so when sending data, it is necessary to send hexadecimal numbers in HEX format

Files

main program.txt

Files (33.4 kB)

Name Size Download all
md5:bddc1fda538ab27a7072012e92704583
687 Bytes Preview Download
md5:d943c6ad2f12bf3e5c97fc1c5fced74f
162 Bytes Download
md5:a83c281655982cd79b1e79b385c33a3d
32.5 kB Download