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.
Fork of RPC_Serial by
Revision 7:d72b60abcab5, committed 2016-03-15
- 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);
