Lab 1 Program C
Fork of mbed by
Diff: BusOut.h
- Revision:
- 5:62573be585e9
- Parent:
- 4:5d1359a283bc
- Child:
- 11:1c1ebd0324fa
--- a/BusOut.h Thu Nov 27 16:23:24 2008 +0000 +++ b/BusOut.h Thu Jan 22 18:32:40 2009 +0000 @@ -35,6 +35,8 @@ int p12 = NOT_CONNECTED, int p13 = NOT_CONNECTED, int p14 = NOT_CONNECTED, int p15 = NOT_CONNECTED, const char *name = NULL); + BusOut(int pins[16], const char *name = NULL); + virtual ~BusOut(); /* Group: Access Methods */ @@ -69,11 +71,14 @@ */ operator int(); - virtual const struct rpc_method *rpc_methods(); + virtual const struct rpc_method *get_rpc_methods(); + static struct rpc_class *get_rpc_class(); protected: DigitalOut* _pin[16]; + + static void construct(const char *arguments, char *res); };