mirror of
https://github.com/YuzuZensai/MCUFRIEND_kbv.git
synced 2026-01-31 14:57:48 +00:00
ILI9225 GS and scroll
This commit is contained in:
@@ -730,8 +730,9 @@ void MCUFRIEND_kbv::vertScroll(int16_t top, int16_t scrollines, int16_t offset)
|
|||||||
WriteCmdData(0x43, vsp - top); //SST
|
WriteCmdData(0x43, vsp - top); //SST
|
||||||
break;
|
break;
|
||||||
#endif
|
#endif
|
||||||
#ifdef SUPPORT_0154
|
#if defined(SUPPORT_0154) || defined(SUPPORT_9225) //thanks tongbajiel
|
||||||
case 0x0154:
|
case 0x9225:
|
||||||
|
case 0x0154:
|
||||||
WriteCmdData(0x31, sea); //SEA
|
WriteCmdData(0x31, sea); //SEA
|
||||||
WriteCmdData(0x32, top); //SSA
|
WriteCmdData(0x32, top); //SSA
|
||||||
WriteCmdData(0x33, vsp - top); //SST
|
WriteCmdData(0x33, vsp - top); //SST
|
||||||
@@ -1894,7 +1895,7 @@ case 0x4532: // thanks Leodino
|
|||||||
#define ILI9225C_INVON 0x21
|
#define ILI9225C_INVON 0x21
|
||||||
|
|
||||||
case 0x9225:
|
case 0x9225:
|
||||||
_lcd_capable = REV_SCREEN | INVERT_GS;
|
_lcd_capable = REV_SCREEN; //thanks tongbajiel
|
||||||
static const uint16_t ILI9225_regValues[] PROGMEM = {
|
static const uint16_t ILI9225_regValues[] PROGMEM = {
|
||||||
/* Start Initial Sequence */
|
/* Start Initial Sequence */
|
||||||
/* Set SS bit and direction output from S528 to S1 */
|
/* Set SS bit and direction output from S528 to S1 */
|
||||||
|
|||||||
Reference in New Issue
Block a user