Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arduino Nano error #8

Open
Dancopy opened this issue May 1, 2019 · 1 comment
Open

Arduino Nano error #8

Dancopy opened this issue May 1, 2019 · 1 comment

Comments

@Dancopy
Copy link

Dancopy commented May 1, 2019

I am using version 1.8.8 of the Arduino, trying to compile with the Arduino Nano board.

First error:
'PB1', 'PB3', 'PB0' and 'PB4' was not declared in this scope (so I commented these lines).

Second error:
graphicstest: 27: 46: error: expected primary-expression before ')' token

ILI9488 tft = ILI9488 (TFT_CS, TFT_DC, TFT_RST);

What are these mistakes?

I would also like to know if it works with esp8266 Nodemcu and what the Pins.

Thank you

@whimsey75
Copy link

Hi...
In my case...3.5 TFT LCD 8pin SPI...
I used this...

#define TFT_CS 10
#define TFT_DC 9
//#define TFT_LED PB0
#define TFT_RST 8

I succeed figured out with this SPI.

GND <-> GND;
VCC <-> 5V;
CLK <-> Digital pin 13;
MOSI <-> Digital pin 11;
RES(RESET) <-> Digital pin 8;
DC(CD) <-> Digital pin 9;
BLK <-> 5V;
MISO: do not connect;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants