樂鑫您好:
我目前在RTOS V1.4.0 SDK中編譯一個具有while loop的迴圈.在此迴圈中我需要以延遲的方式來達到
程式碼在執行過程中延遲的效果.請問,當我使用taskCreate()這個所支援的函示下去執行此while loop時,
我能否在此while loop中再呼叫另外一個task,此task是做延遲的行為.這是可被允許的嗎? 還是我必須
將它寫成一個函式去處理呢? 不知能否給予一些範例或是說明呢?? Source Architecture 如下.
// task 1
while(condition1)
{
if(condition2)
{
......
// task2 ?
taskCreate();
}
if(condition3)
{
.......
}
}
RTOS task usage issues ?
-
- Posts: 48
- Joined: Wed May 04, 2016 7:32 pm
Re: RTOS task usage issues ?
Postby ESP_Faye » Fri Jun 24, 2016 9:53 am
您好,
基于 ESP8266_RTOS_SDK 的应用示例可以参考 https://github.com/espressif/ESP8266_IOT_PLATFORM。
感谢您对 ESP8266 的关注!
基于 ESP8266_RTOS_SDK 的应用示例可以参考 https://github.com/espressif/ESP8266_IOT_PLATFORM。
感谢您对 ESP8266 的关注!
Who is online
Users browsing this forum: No registered users and 289 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.