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: Seven_Segment_Serial_I2C_Demo Seven_Segment_Serial_SPI_Demo Seven_Segment_Serial_UART_Demo 4180_Project
Revision 3:743d1d18ccbd, committed 2017-03-15
- Comitter:
- esklawitter
- Date:
- Wed Mar 15 05:10:05 2017 +0000
- Parent:
- 2:21bad794d528
- Commit message:
- V1.4
Changed in this revision
SevenSegmentSerial.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 21bad794d528 -r 743d1d18ccbd SevenSegmentSerial.h --- a/SevenSegmentSerial.h Wed Mar 15 04:46:54 2017 +0000 +++ b/SevenSegmentSerial.h Wed Mar 15 05:10:05 2017 +0000 @@ -17,16 +17,14 @@ public: /** - * Create a seven segment serial object using the given mode on the specified pins. - * Single pin constructor only supports m="UART_MODE" + * Create a seven segment serial object using the given mode on the specified pins - single pin constructor only supports m="UART_MODE" * @param m Mode on which to transmit data * @param pin1 pin used to transmit data (TX pin for Serial) */ SevenSegmentSerial(int m, PinName pin1, int baud= 9600); /** - * Create a seven segment serial object using the given mode on the specified pins. - * 2 pin constructor supports m= SPI_MODE and I2C_MODE + * Create a seven segment serial object using the given mode on the specified pins - 2 pin constructor supports m= SPI_MODE and I2C_MODE * @param m Mode on which to transmit data * @param pin1 pin used to transmit data (SDA or MOSI) * @param pin2 second pin used to transmit data (SCL or SCK) @@ -34,8 +32,7 @@ SevenSegmentSerial(int m, PinName pin1, PinName pin2, char addr= 0xE2); /** - * Create a seven segment serial object using the given mode on the specified pins. - * 3 pin constructor only supports m = SPI_MODE + * Create a seven segment serial object using the given mode on the specified pins - 3 pin constructor only supports m = SPI_MODE * @param m Mode on which to transmit data * @param pin1 pin used to transmit data (MOSI) * @param pin2 second pin used to transmit data (SCK)