version_2.0
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
Diff: AnalogIn.h
- Revision:
- 4:5d1359a283bc
- Parent:
- 1:6b7f447ca868
- Child:
- 5:62573be585e9
diff -r aefd12a1f1c5 -r 5d1359a283bc AnalogIn.h --- 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: