I need some help getting started #281
Closed
shan-mcarthur
started this conversation in
General
Replies: 1 comment 3 replies
-
For SPI, you need to use Arduino_ILI9488_18bit |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have spent 2 days trying to figure this out and could use some help with getting started.
I have an ESP32 board (NodeMCU-32S) and an ILI9488 TFT board. See http://www.lcdwiki.com/3.5inch_SPI_Module_ILI9488_SKU:MSP3520
I have attached it with the following:
`/******************************
wiring of IFI9488 to ESP32 dev board:
******************************/`
My code is the hello world example, but I just can't get it to display anything.
I have even tried simplifying it to the following:
`#include <Arduino_GFX_Library.h>
Arduino_DataBus bus = new Arduino_HWSPI(2 / DC /, 15 / CS */);
Arduino_GFX gfx = new Arduino_ILI9488(bus, 4, 0 / rotation /, false / IPS */);
void setup(void)
{
gfx->begin();
gfx->fillScreen(BLACK);
gfx->setCursor(10, 10);
gfx->setTextColor(RED);
gfx->println("Hello World!");
}
void loop()
{
}
`
My protocol analyzer shows data going to MOSI and I see that big block of 0x00 for the black fill. I just don't see anything on the TFT panel. It is lit up because the LED pin is on 3.3v.
The Reset pin is always high. The DC pin goes low occasionally, and the CS pin goes low for every bit but is high otherwise.
I don't have anything else on those pins or using SPI. One thing I have picked up elsewhere is that the MCU might not have sufficient power and I might need to provide additional 3.3v power on the side. Would that cause the board to not show anything? Or am I missing some basic config steps in the super-simple hello world example?
Beta Was this translation helpful? Give feedback.
All reactions