-->
Page 1 of 1

LCD JLX12864G runs on the Arduino but not on ESP-12F

PostPosted: Mon Oct 14, 2019 2:09 pm
by vedochia
hi, i can't get this display to work with ESP-12F.
Display is
With Arduino UNO REV3 it works well connected in this mode :
Library U8GLIB has been configured
U8GLIB_NHD_C12864 u8g(13, 11, 10, 9, 8); // SPI Com: SCK = 13, MOSI = 11, CS = 10, CD = 9, RST = 8
Arduino Uno pin LCD pin

SCK 13 - SCK 8
MOSI 11 - SDA 9
CS 10 - CS 12
CD 9 - RS 10
RST 8 - RST 11

The connections with ESP-12F and LCD are :
Library U8GLIB has been configured in this mode
U8GLIB_NHD_C12864 U8GLIB(14, 13, 9, 11, 1);

ESP-12F pin - LCD pin

SCLK 14 - SCK 8
MOSI 13 - SDA 9
CS0 9 - CS 12
GPIO9 11 - RS 10
RST 1 - RST 11
but does not work on the ESP-12F.
Can someone please help me? Thanks.

Re: LCD JLX12864G runs on the Arduino but not on ESP-12F

PostPosted: Thu Oct 17, 2019 2:25 am
by QuickFix
As far as I know the regular U8Glib is not compatible with the ESP8266 (note: an Atmel <> ESP8266), but there used to be a fork somewhere.
Also U8Glib is deprecated and you should step over to its successor u8g2.

Re: LCD JLX12864G runs on the Arduino but not on ESP-12F

PostPosted: Sun Oct 20, 2019 10:25 am
by vedochia
Thanks for the reply. I will try to make the lcd work with U8G2.