CodePudding user response:
Whatever sensor, its communication interface with specifications, in accordance with its agreement read register data, we get the testing values, this app is very simple,Now is generally 485 interface, a UART add a 485 chip on F103 connected to just go,
See sensor protocol, see will understand, it still won't do I help you,
CodePudding user response:
Find a 103 f serial port routines, using a serial port 0, modify the serial port baud rate Settings, read interrupt Settings, when read the complete data message after an interrupt, into the process,