A RPC example usage program.

Dependencies:   mbed-rpc mbed

Fork of RPC_Serial by Michael Walker

Files at this revision

API Documentation at this revision

Comitter:
dhcabinian
Date:
Tue Mar 15 05:11:46 2016 +0000
Parent:
6:cb40d6349b96
Commit message:
Changed from AnalogIN to DigitalIn;

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Mar 15 05:10:51 2016 +0000
+++ b/main.cpp	Tue Mar 15 05:11:46 2016 +0000
@@ -8,7 +8,7 @@
 
 //Use the RPC enabled wrapped class  - see RpcClasses.h for more info
 RpcDigitalOut mbedled(LED1,"mbedled");
-RpcAnalogIn     sw(p8, "switch");
+RpcDigitalIn     sw(p8, "switch");
 RpcPwmOut       led(p21, "pwmled");
 Serial pc(USBTX, USBRX);