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.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
I'm using the EthernetNetIf library and have set up my program to display temperature and other data over http. I've added net::poll to my program loop and while this does actually work it can be slow to respond. Now I think this is because my main program loop takes around 10 seconds to run through.
Clearly I could optimise the main loop but is there any alternative to net::poll that works like an interrupt or could I make net::poll a ticker? Ideally I want the program to respond instantly to the http request regardless of what else it may be doing...
Thanks.