mirror of
https://github.com/Bodmer/TFT_eSPI.git
synced 2024-09-21 02:17:13 +00:00
Tidy legacy comments
This commit is contained in:
parent
0c187c7840
commit
7a35c9dc4e
@ -60,9 +60,3 @@
|
||||
|
||||
#define TFT_INVOFF 0x20
|
||||
#define TFT_INVON 0x21
|
||||
|
||||
|
||||
// All ILI9163 specific commands some are used by setRotation()
|
||||
#define ILI9163_RDID1 0xDA
|
||||
#define ILI9163_RDID2 0xDB
|
||||
#define ILI9163_RDID3 0xDC
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
// This is the command sequence that initialises the ST7735 driver
|
||||
// This is the command sequence that initialises the ILI9163 driver
|
||||
//
|
||||
// This setup information is in a format accecpted by the commandList() function
|
||||
// which reduces FLASH space, but on an ESP8266 there is plenty available!
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
// This is the command sequence that rotates the ILI9341 driver coordinate frame
|
||||
// This is the command sequence that rotates the ILI9163 driver coordinate frame
|
||||
|
||||
rotation = m % 4;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
// This is the command sequence that initialises the ILI9481 driver
|
||||
// This is the command sequence that initialises the ILI9486 driver
|
||||
//
|
||||
// This setup information uses simple 8 bit SPI writecommand() and writedata() functions
|
||||
//
|
||||
@ -67,4 +67,4 @@
|
||||
|
||||
writecommand(0x29); // display on
|
||||
delay(150);
|
||||
}
|
||||
}
|
||||
|
@ -53,9 +53,3 @@
|
||||
|
||||
#define TFT_INVOFF 0x20
|
||||
#define TFT_INVON 0x21
|
||||
|
||||
|
||||
// All S6D02A1 specific commands some are used by setRotation()
|
||||
#define S6D02A1_RDID1 0xDA
|
||||
#define S6D02A1_RDID2 0xDB
|
||||
#define S6D02A1_RDID3 0xDC
|
||||
|
@ -4,7 +4,7 @@
|
||||
// This setup information is in a format accecpted by the commandList() function
|
||||
// which reduces FLASH space, but on an ESP8266 there is plenty available!
|
||||
//
|
||||
// See S6D02A1_Setup.h file for an alternative simpler format
|
||||
// See ILI9341_Setup.h file for an alternative simpler format
|
||||
|
||||
{
|
||||
// Initialization commands for S6D02A1 screens
|
||||
@ -44,4 +44,4 @@
|
||||
|
||||
commandList(S6D02A1_cmds);
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -98,51 +98,3 @@
|
||||
|
||||
#define TFT_INVOFF 0x20
|
||||
#define TFT_INVON 0x21
|
||||
|
||||
|
||||
// All ST7735 specific commands some are used by setRotation()
|
||||
#define ST7735_NOP 0x00
|
||||
#define ST7735_SWRESET 0x01
|
||||
#define ST7735_RDDID 0x04
|
||||
#define ST7735_RDDST 0x09
|
||||
|
||||
#define ST7735_SLPIN 0x10
|
||||
#define ST7735_SLPOUT 0x11
|
||||
#define ST7735_PTLON 0x12
|
||||
#define ST7735_NORON 0x13
|
||||
|
||||
#define ST7735_INVOFF 0x20
|
||||
#define ST7735_INVON 0x21
|
||||
#define ST7735_DISPOFF 0x28
|
||||
#define ST7735_DISPON 0x29
|
||||
#define ST7735_CASET 0x2A
|
||||
#define ST7735_RASET 0x2B // PASET
|
||||
#define ST7735_RAMWR 0x2C
|
||||
#define ST7735_RAMRD 0x2E
|
||||
|
||||
#define ST7735_PTLAR 0x30
|
||||
#define ST7735_COLMOD 0x3A
|
||||
#define ST7735_MADCTL 0x36
|
||||
|
||||
#define ST7735_FRMCTR1 0xB1
|
||||
#define ST7735_FRMCTR2 0xB2
|
||||
#define ST7735_FRMCTR3 0xB3
|
||||
#define ST7735_INVCTR 0xB4
|
||||
#define ST7735_DISSET5 0xB6
|
||||
|
||||
#define ST7735_PWCTR1 0xC0
|
||||
#define ST7735_PWCTR2 0xC1
|
||||
#define ST7735_PWCTR3 0xC2
|
||||
#define ST7735_PWCTR4 0xC3
|
||||
#define ST7735_PWCTR5 0xC4
|
||||
#define ST7735_VMCTR1 0xC5
|
||||
|
||||
#define ST7735_RDID1 0xDA
|
||||
#define ST7735_RDID2 0xDB
|
||||
#define ST7735_RDID3 0xDC
|
||||
#define ST7735_RDID4 0xDD
|
||||
|
||||
#define ST7735_PWCTR6 0xFC
|
||||
|
||||
#define ST7735_GMCTRP1 0xE0
|
||||
#define ST7735_GMCTRN1 0xE1
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
// This is the command sequence that initialises the ST7735 driver
|
||||
//
|
||||
// This setup information is in a format accecpted by the commandList() function
|
||||
// This setup information is in a format accepted by the commandList() function
|
||||
// which reduces FLASH space, but on an ESP8266 there is plenty available!
|
||||
//
|
||||
// See ILI9341_Setup.h file for an alternative simpler format
|
||||
@ -186,4 +186,4 @@
|
||||
}
|
||||
commandList(Rcmd3);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
// This is the command sequence that rotates the ILI9341 driver coordinate frame
|
||||
// This is the command sequence that rotates the ST7735 driver coordinate frame
|
||||
|
||||
rotation = m % 4; // Limit the range of values to 0-3
|
||||
|
||||
|
@ -1,9 +1,9 @@
|
||||
// These are various test setups and are not used by the library!
|
||||
|
||||
// This is the command sequence that initialises the ILI9481 driver
|
||||
// This is the command sequence that initialises the ????? driver
|
||||
//
|
||||
// This setup information uses simple 8 bit SPI writecommand() and writedata() functions
|
||||
//
|
||||
// See ST7735_Setup.h file for an alternative format
|
||||
|
||||
|
||||
{
|
||||
#if defined (TINYLCD)
|
||||
|
@ -17,6 +17,11 @@
|
||||
#define ILI9341_DRIVER
|
||||
//#define ST7735_DRIVER
|
||||
|
||||
// For ST7735 and ILI9163 ONLY, define the pixel width and height in portrait orientation
|
||||
//#define TFT_WIDTH 128
|
||||
//#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// For ST7735 ONLY, define the type of display, originally this was based on the
|
||||
// colour of the tab on the screen protector film but this is not always true, so try
|
||||
// out the different options below if the screen does not display graphics correctly,
|
||||
|
@ -17,6 +17,11 @@
|
||||
//#define ILI9341_DRIVER
|
||||
#define ST7735_DRIVER
|
||||
|
||||
// For ST7735 and ILI9163 ONLY, define the pixel width and height in portrait orientation
|
||||
#define TFT_WIDTH 128
|
||||
#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// For ST7735 ONLY, define the type of display, originally this was based on the
|
||||
// colour of the tab on the screen protector film but this is not always true, so try
|
||||
// out the different options below if the screen does not display graphics correctly,
|
||||
@ -31,11 +36,6 @@
|
||||
#define ST7735_REDTAB
|
||||
//#define ST7735_BLACKTAB
|
||||
|
||||
// For ST7735 ONLY define the width and height in portrait orientation
|
||||
#define TFT_WIDTH 128
|
||||
#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// ##################################################################################
|
||||
//
|
||||
// Section 1. Define the pins that are used to interface with the display here
|
||||
|
@ -18,6 +18,10 @@
|
||||
//#define ST7735_DRIVER
|
||||
#define ILI9163_DRIVER
|
||||
|
||||
// For ST7735 and ILI9163 ONLY, define the pixel width and height in portrait orientation
|
||||
#define TFT_WIDTH 128
|
||||
#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// ##################################################################################
|
||||
//
|
||||
|
@ -20,6 +20,11 @@
|
||||
//#define S6D02A1_DRIVER
|
||||
#define RPI_ILI9486_DRIVER // 20MHz maximum SPI
|
||||
|
||||
// For ST7735 and ILI9163 ONLY, define the pixel width and height in portrait orientation
|
||||
//#define TFT_WIDTH 128
|
||||
//#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// For ST7735 ONLY, define the type of display, originally this was based on the
|
||||
// colour of the tab on the screen protector film but this is not always true, so try
|
||||
// out the different options below if the screen does not display graphics correctly,
|
||||
@ -34,11 +39,6 @@
|
||||
//#define ST7735_REDTAB
|
||||
//#define ST7735_BLACKTAB
|
||||
|
||||
// For ST7735 ONLY, define the pixel width and height in portrait orientation
|
||||
//#define TFT_WIDTH 128
|
||||
//#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// ##################################################################################
|
||||
//
|
||||
// Section 1. Define the pins that are used to interface with the display here
|
||||
|
@ -19,6 +19,11 @@
|
||||
#define ILI9341_DRIVER
|
||||
//#define ST7735_DRIVER
|
||||
|
||||
// For ST7735 and ILI9163 ONLY, define the pixel width and height in portrait orientation
|
||||
//#define TFT_WIDTH 128
|
||||
//#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// For ST7735 ONLY, define the type of display, originally this was based on the
|
||||
// colour of the tab on the screen protector film but this is not always true, so try
|
||||
// out the different options below if the screen does not display graphics correctly,
|
||||
@ -32,11 +37,6 @@
|
||||
//#define ST7735_REDTAB
|
||||
//#define ST7735_BLACKTAB
|
||||
|
||||
// For ST7735 ONLY define the width and height in portrait orientation
|
||||
//#define TFT_WIDTH 128
|
||||
//#define TFT_HEIGHT 160
|
||||
//#define TFT_HEIGHT 128
|
||||
|
||||
// ##################################################################################
|
||||
//
|
||||
// Section 1. Define the pins that are used to interface with the display here
|
||||
|
Loading…
Reference in New Issue
Block a user