Skip to content

Commit

Permalink
Merge pull request #46 from ardnew/master
Browse files Browse the repository at this point in the history
updating tftBusWidth value tft8bitbus references in example sketches
  • Loading branch information
ladyada authored May 10, 2019
2 parents 75dadd6 + 1eb698b commit 103e9d5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/graphicstest_pyportal/graphicstest_pyportal.ino
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#define TFT_BACKLIGHT 25

// ILI9341 with 8-bit parallel interface:
Adafruit_ILI9341 tft = Adafruit_ILI9341(tft8, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);
Adafruit_ILI9341 tft = Adafruit_ILI9341(tft8bitbus, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);

void setup() {
Serial.begin(9600);
Expand Down
2 changes: 1 addition & 1 deletion examples/mandelbrot/mandelbrot.ino
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define TFT_RD 9 // Read-strobe pin
#define TFT_BACKLIGHT 25
// ILI9341 with 8-bit parallel interface:
Adafruit_ILI9341 tft = Adafruit_ILI9341(tft8, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);
Adafruit_ILI9341 tft = Adafruit_ILI9341(tft8bitbus, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);
#define USE_BUFFER // buffer all 155 KB of data for bliting - uses passive ram but looks nicer?
#else
// Use SPI
Expand Down
2 changes: 1 addition & 1 deletion examples/pyportal_boing/pyportal_boing.ino
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define TFT_BACKLIGHT 25

// ILI9341 with 8-bit parallel interface:
Adafruit_ILI9341 tft(tft8, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);
Adafruit_ILI9341 tft(tft8bitbus, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);

#define BGCOLOR 0xAD75
#define GRIDCOLOR 0xA815
Expand Down
2 changes: 1 addition & 1 deletion examples/touchpaint_pyportal/touchpaint_pyportal.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ TouchScreen ts = TouchScreen(XP, YP, XM, YM, 300);
#define TFT_RD 9 // Read-strobe pin
#define TFT_BACKLIGHT 25
// ILI9341 with 8-bit parallel interface:
Adafruit_ILI9341 tft = Adafruit_ILI9341(tft8, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);
Adafruit_ILI9341 tft = Adafruit_ILI9341(tft8bitbus, TFT_D0, TFT_WR, TFT_DC, TFT_CS, TFT_RST, TFT_RD);

// Size of the color selection boxes and the paintbrush size
#define BOXSIZE 40
Expand Down

0 comments on commit 103e9d5

Please sign in to comment.