TFTLCD with FastIO
Fork of TFTLCD by
Diff: st7735.cpp
- Revision:
- 10:69571adcfad5
- Parent:
- 9:58b328831d0a
- Child:
- 12:d0978272a340
--- a/st7735.cpp Fri Dec 07 16:14:13 2012 +0000 +++ b/st7735.cpp Tue Dec 11 03:18:43 2012 +0000 @@ -216,6 +216,11 @@ WriteCmd( 0x2c ); } +void ST7735_LCD::SetPixelColor( unsigned short color ) +{ + WriteData( color ); +} + void ST7735_LCD::serializeByte( unsigned char data ) { for ( int i = 0; i < 8; i++ )