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 mbed by
Diff: PwmOut.h
- Revision:
- 4:5d1359a283bc
- Parent:
- 1:6b7f447ca868
- Child:
- 5:62573be585e9
--- a/PwmOut.h Fri Nov 14 15:25:20 2008 +0000 +++ b/PwmOut.h Thu Nov 27 16:23:24 2008 +0000 @@ -24,7 +24,7 @@ * Variables: * pin - PwmOut pin to connect to (21-26) */ - PwmOut(int pin); + PwmOut(int pin, const char *name = NULL); /* Group: Access Methods (Analog-like) */ @@ -127,6 +127,8 @@ * A shorthand for <read> */ operator float(); + + virtual const struct rpc_method *rpc_methods(); protected: