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