Display on 320x480 ILI9488 SPI TFT with Nano 33 BLE nRF52840 using Arduino_GFX Library (Arduino framework)

This video show steps to display on 3.5" 320x480 ILI9488 SPI TFT with Nologo Nano 33 BLE nRF52840 using Arduino_GFX Library (Arduino framework).


Makesure "GFX Library for Arduino" is installed in Arduino IDE Library Manager.

Open Examples > GFX Library for Arduino > HelloWorldGfxfont

Replace the code of Arduino_GFX setting,

/*******************************************************************************
 * Start of Arduino_GFX setting
 ******************************************************************************/
#include <Arduino_GFX_Library.h>

#define TFT_CS    D10
#define TFT_RESET D9
#define TFT_DC    D8
#define TFT_MOSI  D11
#define TFT_SCK   D13
#define TFT_LED   D7
#define TFT_MISO  -1  // not used for TFT

#define GFX_BL TFT_LED // backlight pin

/* More data bus class: https://github.com/moononournation/Arduino_GFX/wiki/Data-Bus-Class */
Arduino_DataBus *bus = new Arduino_HWSPI(TFT_DC, TFT_CS);

/* More display class: https://github.com/moononournation/Arduino_GFX/wiki/Display-Class */
Arduino_GFX *gfx = new Arduino_ILI9488_18bit(bus, TFT_RESET, 0 /* rotation */, false /* IPS */);

/*******************************************************************************
 * End of Arduino_GFX setting
 ******************************************************************************/



Comments

Popular posts from this blog

480x320 TFT/ILI9488 SPI wih EP32C3 (arduino-esp32) using Arduino_GFX Library

my dev.tools - FNIRSI 2C23T 3-in-1 Dual Channel Oscilloscope/Multimeter/Signal Generator