ssd1963
Revision 4:84a51911fb31, committed 2020-10-16
- Comitter:
- sPymbed
- Date:
- Fri Oct 16 17:39:40 2020 +0000
- Parent:
- 3:31ca3cd96572
- Commit message:
- fixed: backlight
Changed in this revision
SSD1963.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/SSD1963.cpp Fri Oct 16 16:33:16 2020 +0000 +++ b/SSD1963.cpp Fri Oct 16 17:39:40 2020 +0000 @@ -89,6 +89,10 @@ _lcd_pin_rd = HIGH; _lcd_pin_wr = HIGH; _lcd_pin_rs = HIGH; + if ( _lcd_pin_bl != 0 ) + *_lcd_pin_bl = HIGH; + else if ( _bl_pwm != 0 ) + *_bl_pwm = _bl_pwm_default; } void SSD1963::begin() {