Skip to main content

Working with Arduino

This chapter includes the following sections. Please read as needed:

Hardware Connection​

The following uses the uno_r4 project in the example package. Connect the LCD module to the Arduino UNO R4. The pin correspondence is as follows:

LCDArduino UNO R4
VCC5 V
GNDGND
DIND11
CLKD13
CS1D6
CS2D10
DCD7
RST1D5
RST2D8
BL1NC
BL2NC

Installing Dependent Libraries​

Download and extract the 0.71inch DualEye LCD Module example package from the Example section of the Resources and Documents page.

This example requires offline installation of the TFT_eSPI library located in the uno_r4/libraries directory.

Library NameDescriptionInstallation Method
TFT_eSPILCD driver libraryOffline installation

Check the sketchbook location in Arduino IDE under File > Preferences, copy the TFT_eSPI folder from the package to the libraries directory of that sketchbook location, and then reopen Arduino IDE.

Running the Example​

  1. In the extracted uno_r4/main directory, open main.ino with Arduino IDE.

  2. Select the board and port corresponding to the actual UNO R4 model in use, then compile and upload the program.

  3. After uploading is complete, the screen displays the example image with the following effect:

    0.71inch DualEye LCD Module Arduino UNO R4 Example Running Effect