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.
Dependents: cc3000_ping_demo_try_2
Fork of mbed by
Diff: DigitalOut.h
- Revision:
- 4:5d1359a283bc
- Parent:
- 3:aefd12a1f1c5
- Child:
- 5:62573be585e9
diff -r aefd12a1f1c5 -r 5d1359a283bc DigitalOut.h --- a/DigitalOut.h Fri Nov 14 15:25:20 2008 +0000 +++ b/DigitalOut.h Thu Nov 27 16:23:24 2008 +0000 @@ -25,7 +25,7 @@ * Variables: * pin - DigitalOut pin to connect to (5-30) */ - DigitalOut(int pin); + DigitalOut(int pin, const char* name = NULL); /* Group: Access Methods */ @@ -46,7 +46,9 @@ * 0 for logical 0 (0v) and 1 for logical 1 (3.3v) */ int read(); - + + virtual const struct rpc_method *rpc_methods(); + /* Group: Access Method Shorthand */ /* Function: operator=