From 922af5c09ef0ff3ad2affeedc0bd310f157e0fe8 Mon Sep 17 00:00:00 2001 From: prenticedavid Date: Sat, 21 Apr 2018 09:38:23 +0100 Subject: [PATCH] whole screen scroll. set VLE1 before VL. --- MCUFRIEND_kbv.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/MCUFRIEND_kbv.cpp b/MCUFRIEND_kbv.cpp index 7c621d2..bd9d827 100644 --- a/MCUFRIEND_kbv.cpp +++ b/MCUFRIEND_kbv.cpp @@ -715,6 +715,7 @@ void MCUFRIEND_kbv::vertScroll(int16_t top, int16_t scrollines, int16_t offset) break; #ifdef SUPPORT_0139 case 0x0139: + WriteCmdData(0x07, 0x0213 | (_lcd_rev << 2)); //VLE1=1, GON=1, REV=x, D=3 WriteCmdData(0x41, vsp); //VL# check vsp break; #endif