Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Whee, support for black-tabs

  • Loading branch information...
commit 3656cb243088fb097346a0e71c58e7a12d734bdf 1 parent 3d868af
@ladyada ladyada authored
View
5 examples/graphicstest/graphicstest.pde
@@ -47,9 +47,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
View
5 examples/graphicstest_highspeed/graphicstest_highspeed.pde
@@ -46,9 +46,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
View
5 examples/rotationtest/rotationtest.pde
@@ -46,9 +46,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
View
5 examples/rotationtest_highspeed/rotationtest_highspeed.pde
@@ -45,9 +45,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
View
5 examples/shieldtest/shieldtest.pde
@@ -46,9 +46,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
View
5 examples/spitftbitmap/spitftbitmap.pde
@@ -41,9 +41,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
View
5 examples/spitftbitmap_rotate/spitftbitmap_rotate.pde
@@ -41,9 +41,12 @@ void setup(void) {
// color of the tab to see which init code to try. If the display is
// cut off or has extra 'random' pixels on the top & left, try the
// other option!
+ // If you are seeing red and green color inversion, use Black Tab
+ // If your TFT's plastic wrap has a Black Tab, use the following:
+ tft.initR(INITR_BLACKTAB); // initialize a ST7735S chip, black tab
// If your TFT's plastic wrap has a Red Tab, use the following:
- tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
+ //tft.initR(INITR_REDTAB); // initialize a ST7735R chip, red tab
// If your TFT's plastic wrap has a Green Tab, use the following:
//tft.initR(INITR_GREENTAB); // initialize a ST7735R chip, green tab
Please sign in to comment.
Something went wrong with that request. Please try again.