Joy-it SBC-LCD01 Handleiding


Lees hieronder de 📖 handleiding in het Nederlandse voor Joy-it SBC-LCD01 (7 pagina's) in de categorie Niet gecategoriseerd. Deze handleiding was nuttig voor 18 personen en werd door 2 gebruikers gemiddeld met 4.5 sterren beoordeeld

Pagina 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
}


Product specificaties

Merk: Joy-it
Categorie: Niet gecategoriseerd
Model: SBC-LCD01

Heb je hulp nodig?

Als je hulp nodig hebt met Joy-it SBC-LCD01 stel dan hieronder een vraag en andere gebruikers zullen je antwoorden




Handleiding Niet gecategoriseerd Joy-it

Handleiding Niet gecategoriseerd

Nieuwste handleidingen voor Niet gecategoriseerd