LCD TFT for ssd0139 driver 8 bit mode - using portout for max speed
Dependents: TFT_CJS_ssd01399_portver_prettyfont TFT_CJS_ssd01399_portver_prettyfont snake_main_game ServerLatest
Fork of LCDTFT_ssd01399 by
Diff: LCDTFT.cpp
- Revision:
- 6:b5ecdc15f1a3
- Parent:
- 5:290d9f5dd5e8
--- a/LCDTFT.cpp Fri Jun 12 09:05:40 2015 +0000 +++ b/LCDTFT.cpp Tue Jun 07 11:47:40 2016 +0000 @@ -382,7 +382,7 @@ void LCDTFT::vLCDTFTRectangle(unsigned short x1,unsigned short y1,unsigned short x2,unsigned short y2,bool Filled,unsigned short Color){ if(Filled){ - int Lenght=(int)(x2-x1); + int Lenght=(int)(y2-y1); for(int i=0;i<Lenght;i++){