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.
Fork of TFTLCD by
Diff: hx8340bs.cpp
- Revision:
- 10:69571adcfad5
- Parent:
- 9:58b328831d0a
- Child:
- 12:d0978272a340
diff -r 58b328831d0a -r 69571adcfad5 hx8340bs.cpp --- a/hx8340bs.cpp Fri Dec 07 16:14:13 2012 +0000 +++ b/hx8340bs.cpp Tue Dec 11 03:18:43 2012 +0000 @@ -186,6 +186,11 @@ WriteCmd( 0x2c ); } +void HX8340S_LCD::SetPixelColor( unsigned short color ) +{ + WriteData( color ); +} + void HX8340S_LCD::serializeByte( unsigned char data ) { for ( int i = 0; i < 8; i++ )