This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

你好,关于在Zstack中延时的问题。

HalUARTWrite(0,"AT+CIPMUX=1\r\n",13); //(串口0,'字符',字符个数。)

延时函数();

HalUARTWrite(0,"AT+CIPSERVER=1,8089\r\n",21); //(串口0,'字符',字符个数。)

我想在Zstack协议栈中,在这两个串口发送函数中间加一个大约有1S的延时。应该如何加?使用过Onboard_wait();函数但是延时1S不清楚应该怎么使用该函数。