Lab 1 Program C
Fork of mbed by
Diff: Serial.h
- Revision:
- 5:62573be585e9
- Parent:
- 4:5d1359a283bc
- Child:
- 8:00a04e5cd407
--- a/Serial.h Thu Nov 27 16:23:24 2008 +0000 +++ b/Serial.h Thu Jan 22 18:32:40 2009 +0000 @@ -16,8 +16,6 @@ public: - /* Group: Configuration Methods */ - /* Constructor: Serial * Create a Serial port, connected to the specified transmit and receive pins * @@ -26,7 +24,9 @@ * rx - Receive pin * * Pin Options: - * (9, 10) or (13, 14) or (28, 27) + * (USBTX, USBRX) or (9, 10) or (13, 14) or (28, 27) + * + * Either tx or rx may be specified as NC (not connected) e.g. (9, NC) */ Serial(int tx, int rx, const char *name = NULL); @@ -59,8 +59,6 @@ void format(int bits, int parity, int stop); - /* Group: Access Methods */ - #if 0 // Inhereted from Stream, for documentation only /* Function: putc