diff --git a/examples/graphicstest_pyportal/graphicstest_pyportal.ino b/examples/graphicstest_pyportal/graphicstest_pyportal.ino index d913f65..faaddfd 100644 --- a/examples/graphicstest_pyportal/graphicstest_pyportal.ino +++ b/examples/graphicstest_pyportal/graphicstest_pyportal.ino @@ -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); diff --git a/examples/mandelbrot/mandelbrot.ino b/examples/mandelbrot/mandelbrot.ino index 6b81005..f4164f2 100644 --- a/examples/mandelbrot/mandelbrot.ino +++ b/examples/mandelbrot/mandelbrot.ino @@ -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 diff --git a/examples/pyportal_boing/pyportal_boing.ino b/examples/pyportal_boing/pyportal_boing.ino index 59673b9..4c76895 100644 --- a/examples/pyportal_boing/pyportal_boing.ino +++ b/examples/pyportal_boing/pyportal_boing.ino @@ -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 diff --git a/examples/touchpaint_pyportal/touchpaint_pyportal.ino b/examples/touchpaint_pyportal/touchpaint_pyportal.ino index 1c0d4b3..d25f77f 100644 --- a/examples/touchpaint_pyportal/touchpaint_pyportal.ino +++ b/examples/touchpaint_pyportal/touchpaint_pyportal.ino @@ -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