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.
10 years, 10 months ago.
FSHandler in HTTP server?
Hi guys. How does this code work? It confused me. I'm reading at http://mbed.org/users/kadams6/notebook/lab3/ Web root directory FSHandler::mount("/fs", "/");
Bind the filesystem handler for all requests server.addHandler("/"); "/" matches every URL server.bind(80); listen port
Ticker ledTicker; ledTicker.attach(&flipLed, BLINK_RATE);
pollSensors();
Ticker pollTicker; pollTicker.attach(&pollSensors, SENSOR_POLL_RATE);
Listen indefinitely while(true) { Net::poll(); }
return 0;
anyone can help me?
posted by Duc Viet Pham 28 Mar 2014help me, pls
posted by Duc Viet Pham 03 Apr 2014