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

Software Preparation

Wiring Diagram

Arduino Connection Diagram

Connection Diagram

Other Preparation Work

  1. GDI interface need to use together with a master computer with the GDI interface
  2. Arduino1.8.10 or later is recommended
  3. If the SD card is in poor contact with the slot, initialization may fail.Try again please.
  1. All demos of this product are stored in the DFRobot_GDL->example->basic file
  2. 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?

TOP