用主时钟为1M,想延时1S,延时函数该怎么写?
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.
楼上正解。楼主,你可以根据你的系统需要设计的任务的复杂程度决定用timer还是delay,如果任务复杂、需要延时的同时执行其他任务推荐使用timer,反之用delay咯。