From 34ba98ac946ee229546ea3c7bb503460c8dafbd4 Mon Sep 17 00:00:00 2001 From: lovyan03 <42724151+lovyan03@users.noreply.github.com> Date: Tue, 30 Jul 2019 14:38:55 +0900 Subject: [PATCH] Fix: ST7735(160x80) setRotation(2) offset. ( test with M5Stick-C ) --- TFT_Drivers/ST7735_Rotation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TFT_Drivers/ST7735_Rotation.h b/TFT_Drivers/ST7735_Rotation.h index 6163abb..73df2ab 100644 --- a/TFT_Drivers/ST7735_Rotation.h +++ b/TFT_Drivers/ST7735_Rotation.h @@ -84,8 +84,8 @@ rowstart = 0; } else if(tabcolor == INITR_GREENTAB160x80) { writedata(TFT_MAD_BGR); - colstart = 0; - rowstart = 0; + colstart = 26; + rowstart = 1; } else if(tabcolor == INITR_REDTAB160x80) { writedata(TFT_MAD_BGR); colstart = 24;