See: http://mbed.org/users/okini3939/notebook/wifi_rpc/
Dependencies: GSwifiInterface mbed-rpc mbed
Revision 3:57b308f73055, committed 2014-05-12
- Comitter:
- okini3939
- Date:
- Mon May 12 14:47:23 2014 +0000
- Parent:
- 2:33dc972331bb
- Commit message:
- fix pinname
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed-rpc.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r 33dc972331bb -r 57b308f73055 main.cpp --- a/main.cpp Mon May 12 05:23:33 2014 +0000 +++ b/main.cpp Mon May 12 14:47:23 2014 +0000 @@ -12,7 +12,8 @@ DigitalOut led1(LED1), led2(LED2); Serial pc(USBTX, USBRX); -GSwifi gs(p13, p14, p12, P0_22, p20, NC, 115200); // mbed LPC1768 +//GSwifi gs(p13, p14, p12, P0_22, p20, NC, 115200); // mbed LPC1768 +GSwifi gs(p13, p14, p12, p11, p20, NC, 115200); // mbed LPC1768 LocalFileSystem local("local"); void ws_server (int cid) { @@ -47,6 +48,7 @@ RPC::add_rpc_class<RpcDigitalInOut>(); RPC::add_rpc_class<RpcPwmOut>(); RPC::add_rpc_class<RpcAnalogIn>(); + RPC::add_rpc_class<RpcAnalogOut>(); gs.httpd(80); gs.httpdAttach("/ws/", &ws_server, 1);
diff -r 33dc972331bb -r 57b308f73055 mbed-rpc.lib --- a/mbed-rpc.lib Mon May 12 05:23:33 2014 +0000 +++ b/mbed-rpc.lib Mon May 12 14:47:23 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/okini3939/code/mbed-rpc/#28ff80fd4832 +http://mbed.org/users/okini3939/code/mbed-rpc/#ddd4f57351e2