1.44 tft lcd display
Dependencies: TFT_fonts mbed-os
Fork of newTFTLCD by
Diff: ssd1289.h
- Revision:
- 22:4c169297f374
- Parent:
- 20:4bdca8d8dadc
- Child:
- 24:ac6e35658037
diff -r e5c1e8ffada1 -r 4c169297f374 ssd1289.h --- a/ssd1289.h Sat Jan 26 02:55:46 2013 +0000 +++ b/ssd1289.h Sat Jan 26 04:36:46 2013 +0000 @@ -91,8 +91,10 @@ * \param RD Pin for the RD signal. This line is not needed by the driver, so if you would like to * use the pin on the mbed for something else, just pull-up the respective pin on the LCD high, * and do not assign a value to this parameter when creating the controller instance. + * \param blType The backlight type, the default is to utilize the pin - if supplied - as a simple on/off switch + * \param defaultBacklightLevel If using PWM to control backlight, this would be the default brightness in percent after LCD initialization. */ - SSD1289_LCD( PinName CS, PinName RESET, PinName RS, PinName WR, BusOut* DATA_PORT, PinName BL = NC, PinName RD = NC ); + SSD1289_LCD( PinName CS, PinName RESET, PinName RS, PinName WR, BusOut* DATA_PORT, PinName BL = NC, PinName RD = NC, backlight_t blType = Constant, float defaultBackLightLevel = 1.0 ); /** Initialize display. *