Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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); };