From a3107d7ed28196b1117b6804771695bc1e9a1fe6 Mon Sep 17 00:00:00 2001 From: Bodmer Date: Sun, 20 May 2018 22:31:54 +0100 Subject: [PATCH] RGB instead of BRG as updated in #143 --- TFT_Drivers/ST7735_Init.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TFT_Drivers/ST7735_Init.h b/TFT_Drivers/ST7735_Init.h index 7cda7f6..41a9c9d 100644 --- a/TFT_Drivers/ST7735_Init.h +++ b/TFT_Drivers/ST7735_Init.h @@ -24,7 +24,7 @@ 0x03, // 3 lines back porch 10, // 10 ms delay ST7735_MADCTL , 1 , // 5: Memory access ctrl (directions), 1 arg: - 0x48, // Row addr/col addr, bottom to top refresh + 0x40, // Row addr/col addr, bottom to top refresh ST7735_DISSET5, 2 , // 6: Display settings #5, 2 args, no delay: 0x15, // 1 clk cycle nonoverlap, 2 cycle gate // rise, 3 cycle osc equalize