本帖最后由 WUZHIXIONG23 于 2019-11-9 10:07 编辑
const unsigned char ESPC_COMMAND[]={'A','T','+','R','S','T','F',0x0d,0x0a};
void SendData_String(unsigned char *str,int strlen)
{
while (strlen--)
{
Send_Uart(*str);
str++;
}
}
SendData_String( ESPC_COMMAND ,9);
|
这样传数组有问题吗?