Joy-it SBC-LCD01 Manual de Usario

Lee a continuación 📖 el manual en español para Joy-it SBC-LCD01 (7 páginas) en la categoría No categorizado. Esta guía fue útil para 3 personas y fue valorada con 4.5 estrellas en promedio por 2 usuarios

Página 1/7
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
1,3 " HD IPS LCD DISPL- -TFT-AY
SBC LCD01-
1. GENERAL INFORMATION
Dear customer,
thank you for choosing our product. In the following, we will show you
how to use this device.
Should you encounter any unexpected problems during use, please do
not hesitate to contact us.
Note that before you can use the display, you must solder the pin
header!
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
, which you can find under library manager
Sketch
Include library
Manage libraries
. There you install Adafruit ST7735 and ST7789
Library Adafruit GFX Library and the using the search bar. Now you can
download a sample code , where an image is displayed on the here
screen.
Make sure that you select the NodeMCU as also under board
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
www.joy it.net-
Pascalstr. 8 47506 Neukirchen Vluyn-
#include <Adafruit_GFX.h>
#include <Adafruit_ST7789.h>
#include <SPI.h>
#define CS 1 -// Declaration of Chip Select
#define DC 5 // Declaration of Data / Command Pin
#define RST 4 // Declaration of RESET Pin
// Initialize display
Adafruit_ST7789 lcd = Adafruit_ST7789(CS, DC, RST);
void voidsetup( ) {
lcd. (240, 240, ); init SPI_MODE2
lcd.setRotation(1);
(500);delay
// fill Display with a colour and a String
lcd.fillScreen(0x22ED);
lcd. (20, 100);setCursor
lcd.setTextColor(ST77XX_WHITE);
lcd.setTextSize(6);
lcd. );print("Joy IT"-
}
void loop() {
// empty
}

Especificaciones del producto

Marca: Joy-it
Categoría: No categorizado
Modelo: SBC-LCD01

¿Necesitas ayuda?

Si necesitas ayuda con Joy-it SBC-LCD01 haz una pregunta a continuación y otros usuarios te responderán




No categorizado Joy-it Manuales

No categorizado Manuales

Últimos No categorizado Manuales