Library for Siemens SDA5708 8 digit LED matrix display. The control interface is SPI.
Revision 9:fa31d04e35a4, committed 2014-10-01
- Comitter:
- wim
- Date:
- Wed Oct 01 13:19:08 2014 +0000
- Parent:
- 8:761aa4ac6719
- Commit message:
- Name change setBrightness()
Changed in this revision
SDA5708.cpp | Show annotated file Show diff for this revision Revisions of this file |
SDA5708.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 761aa4ac6719 -r fa31d04e35a4 SDA5708.cpp --- a/SDA5708.cpp Tue Sep 30 18:43:47 2014 +0000 +++ b/SDA5708.cpp Wed Oct 01 13:19:08 2014 +0000 @@ -63,7 +63,7 @@ } #if(SDA5708_PRINTF != 1) -/** Write a character to the LCD +/** Write a character to the Display * * @param c The character to write to the display */ @@ -71,7 +71,7 @@ return _putc(c); } -/** Write a raw string to the LCD +/** Write a raw string to the Display * * @param string text, may be followed by variables to emulate formatting the string. * However, printf formatting is NOT supported and variables will be ignored! @@ -86,7 +86,7 @@ } #else #if DOXYGEN_ONLY -/** Write a character to the LCD +/** Write a character to the Display * * @param c The character to write to the display */ @@ -94,7 +94,7 @@ return _putc(c); } -/** Write a formatted string to the LCD +/** Write a formatted string to the Display * * @param format A printf-style format string, followed by the * variables to use in formatting the string. @@ -129,7 +129,7 @@ * * @param brightness The brightness level (valid range 0..7) */ -void SDA5708::set_brightness(uint8_t brightness){ +void SDA5708::setBrightness(uint8_t brightness){ _brightness = brightness & 0x07;
diff -r 761aa4ac6719 -r fa31d04e35a4 SDA5708.h --- a/SDA5708.h Tue Sep 30 18:43:47 2014 +0000 +++ b/SDA5708.h Wed Oct 01 13:19:08 2014 +0000 @@ -161,7 +161,7 @@ */ int putc(int c); - /** Write a formatted string to the LCD + /** Write a formatted string to the Display * * @param format A printf-style format string, followed by the * variables to use in formatting the string. @@ -192,7 +192,7 @@ * * @param brightness The brightness level (valid range 0..7) */ - void set_brightness(uint8_t brightness); + void setBrightness(uint8_t brightness); /** Set User Defined Characters (UDC) *