Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: lwip/HTTPServer/testbed.h
- Revision:
- 0:9cf1d79ebe04
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lwip/HTTPServer/testbed.h Thu Sep 08 08:57:21 2011 +0000 @@ -0,0 +1,17 @@ + + url = _request_url; + // /led5on. 6 n + // /led5of 6 f + // tt[0] = url[1]; tt[1] = url[2]; tt[2] = url[3]; tt[3] =0; + if ( strncmp( url , "/led5on" , 7) == 0) var=0; + if ( strncmp( url , "/led5off" , 8) == 0) var=1; + if ( strncmp( url , "/testbed" , 8) == 0) adc=1; + + + + // format des adresses decodees + // 192.168.1.77/xxx.htm + // led5on ou led5off + // testbed + + \ No newline at end of file