Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

User task and wifi #5

Closed
Karang opened this Issue · 2 comments

2 participants

@Karang

Hi,
I've noticed that when I run a user task (like this : https://github.com/Karang/Ardunet/blob/master/src/user/user_main.cpp#L49-L62), the wifi doesn't work anymore (In station and AP mode). Is there a particular reason?
Where can I find the internal architecure of the esp8266 ? I would like to understand how tasks are implemented on the chip.
Regards

@atdeveloper
Collaborator

Hi,
The base OS didn't open source, it’s a non preemptive os, it didn't go to the higher priority tasks in the delay.
I saw two delay in loop function, maybe the task take up too much time.
Please minimize using delay.
If you want to use PWM, please look at pwm example in "iot_demo".
If you developing base on sdk, recommend using the new SDK (https://github.com/espressif/esp_iot_rtos_sdk_lib).
It‘s based on freertos.
Regards.

@Karang

Thank you for your quick answer ;)
I'll look into the RTOS SDK.

@Karang Karang closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.