This is a port of Henning Kralsen's UTFT library for Arduino/chipKIT to mbed, refactored to make full use of C inheritance and access control, in order to reduce work when implementing new drivers and at the same time make the code more readable and easier to maintain. As of now supported are SSD1289 (16-bit interface), HX8340-B (serial interface) and ST7735 (serial interface). Drivers for other controllers will be added as time and resources to acquire the displays to test the code permit.
Fork of TFTLCD by
Diff: hx8340bs.cpp
- Revision:
- 9:58b328831d0a
- Parent:
- 4:3ac4239f6c9c
- Child:
- 10:69571adcfad5
diff -r 7a4791dbb065 -r 58b328831d0a hx8340bs.cpp --- a/hx8340bs.cpp Thu Dec 06 02:18:22 2012 +0000 +++ b/hx8340bs.cpp Fri Dec 07 16:14:13 2012 +0000 @@ -28,7 +28,7 @@ if ( BL != NC ) _lcd_pin_bl = new DigitalOut( BL ); else _lcd_pin_bl = 0; } - + void HX8340S_LCD::Initialize( orientation_t orientation ) { _orientation = orientation;