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.
Dependencies: EthernetInterface HTTPServer mbed-rpc mbed-rtos mbed
Fork of RPC_HTTP by
Diff: HTTP_RPC.cpp
- Revision:
- 5:5322cbfd7c01
- Parent:
- 4:a1b6651dd2ae
diff -r a1b6651dd2ae -r 5322cbfd7c01 HTTP_RPC.cpp --- a/HTTP_RPC.cpp Mon Jun 15 16:33:43 2015 +0000 +++ b/HTTP_RPC.cpp Mon Jun 15 16:52:53 2015 +0000 @@ -26,13 +26,12 @@ RpcDigitalOut led1(LED1,"led1"); - EthernetInterface eth; HTTPServer svr; int main() { - //Turn the LED off - led1.write(1) + //Turn the LEDs off + led1.write(1); RPC::add_rpc_class<RpcDigitalOut>();