[b][color=#5E7384]This content is originally created by EEWORLD forum user [size=3]tiankai001[/size]. If you need to reprint or use it for commercial purposes, you must obtain the author's consent and
The data sent from the microcontroller serial port 2 is of unsigned char type and is stored in an array unsigned char xdata Rec_Buf2[50]:The data in Rec_Buf2[50] is:
DD 03 00 1B 0B 60 00 00 00 F8 01 0
As we all know, the operating system has to create a stack area and has its own tasks, but I saw a routine today as follows:#include rtthread.h
#include rtdevice.h
#include board.h
#include drv_lcd.h