The following steps show you how to use usleep/sleep function in CC1310 TI 15.4 Stack:
1. Add "var Settings = xdc.useModule('ti.sysbios.posix.Settings');" into app.cfg
2. Add "#include <unistd.h>" in your C file.
3. You can use usleep or sleep function in your C file now.
No comments:
Post a Comment