Example Code for Arduino-basicTest
Last revision 2025/12/10
This article offers a step-by-step guide on setting up an Arduino project using basic test code, including the required hardware and software, wiring diagrams, and troubleshooting advice.
Hardware Preparation
- DFRduino UNO Controller x 1
- 0.96" 160x80 LCD Display Module x 1
- M-M/F-M/F-F Jumper wires
Software Preparation
- Arduino IDE
- DFRobot_GDL Library File
- About how to install the library?
- DFRobot_GDL API Interface Functions
Wiring Diagram
Arduino Connection Diagram

Other Preparation Work
- GDI interface need to use together with a master computer with the GDI interface
- Arduino1.8.10 or later is recommended
- If the SD card is in poor contact with the slot, initialization may fail.Try again please.
- All demos of this product are stored in the DFRobot_GDL->example->basic file
- Before burning demos, please open the corresponding materialization function (DFRobot_ST7735_240x240_HW_SPI)
Sample Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Was this article helpful?
