www.joy
-
it.net
Pascalstr. 8 47506 Neukirchen
-
Vluyn
2. USAGE WITH THE NODEMCU
1. Connection
2. Code example
The SBC
-
LCD01 has a logic level of 3.3V, making a NodeMCU recom-
mended for this application. To use a NodeMCU with the Arduino IDE,
you must first add the board. To do this click on
File
→
Preferences
. There you add the following link
Additional board
administrator URLs
.
Now you can download the library in the Arduino IDE. There you go to the
library manager
, which you can find under
Sketch
→
Include library
…
→
Manage libraries
…
. There you install
Adafruit ST7735 and ST7789
Library
and the
Adafruit GFX Library
using the search bar. Now you can
download a sample code
, where an image is displayed on the
screen.
Make sure that you select the NodeMCU as
board
also under
Tools
, as
well as the correct
port
.
Please note, if you want to upload the code, you have to keep the
flash button pressed!
NodeMCU
LCD
D1
(GPIO 5)
DC
D2
(GPIO 4)
RES
D5
(SCLK)
SCL
D7
(MOSI)
SDA
G
GND
3V
VCC
http://arduino.esp8266.com/stable/package_esp8266com_index.json