Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By freedom2000
#36771 Hi,

I finally got my 2 LCD displays. It's the red pcb version : RED PCB 1.44' SPI 128*128 V1.1

I tied it to my custom ESP board with these connections :

VCC -> 3V3
GND -> GND
CS -> GPIO 16
RESET -> 3V3
A0 -> GPIO 5
SDA -> GPIO 13
LED -> +3V3
SCK ->GPIO 14

I have dowloaded the library prerelease 1.0r4
I have updated my ESP manager to /2.0.0-rc2/ stging version

And compiled the "basicSetup" example

When I power all this up I only get a white screen...

I have also tried to decrease SPI speed to : #define _ESP8266MAXSPISPEED 8000000UL // was 80000000UL

But nothing more.
I have tested with a second LCD...same thing

I know that my ESP board is running well with hardware SPI : http://www.esp8266.com/viewtopic.php?f=15&t=5807

So I am a bit lost !
Any help please ?
JP
User avatar
By freedom2000
#36775 Hi again,

I have found the "bug"...

My setting allows to wake up from DeepSleep. To do this GPIO16 must be tied to reset pin.

So imagine using GPIO16 as the CS pin for the LCD :lol: when low --> ESP resets :oops:

Changing to GPIO0 does the trick

Now it works and works very well
Thank you again
JP

ESP.jpg
You do not have the required permissions to view the files attached to this post.
Last edited by freedom2000 on Sat Dec 19, 2015 10:12 am, edited 1 time in total.