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