Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 3 months ago.
Is it possible to continue to run the main infinite loop along with the server ?
Hi, first of all this is really a neat piece of work you have done. I have a question and if it can be addressed, it would be a perfect combination.
When we run your webserver, it interrupts the main infinite loop of mbed.
If we would like to run things like logic control, data logging or similar stuff that is not possible once the webserver starts the loop.
Can this be modified ?
Thank you,
Orhan Dengiz
Edit: this question is about "MiMic RemoteMCU for mbed" at https://mbed.org/users/nyatla/code/MiMicRemoteMCU-for-Mbed/
libMiMic Rev 46 support back ground task.
Please call Httpd::loopTask() instead of Httpd::loop();