Lab 1 Program C
Fork of mbed by
Diff: PwmOut.h
- Revision:
- 4:5d1359a283bc
- Parent:
- 1:6b7f447ca868
- Child:
- 5:62573be585e9
diff -r aefd12a1f1c5 -r 5d1359a283bc PwmOut.h --- 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: