Example Code for Arduino-Show hello

Last revision 2025/12/27

Learn how to use FireBeetle ESP32 and LED Matrix to display 'Hello' with Arduino IDE and sample code.

Hardware Preparation

Software Preparation

Other Preparation Work

NOTE: You need use D(x) to call digital I/O pins under Arduino IDE. Or that will be IO(x). CS = D2

Sample Code

Initialize HT1632C display and print "Hello".

#include "DFRobot_HT1632C.h"

#define DATA D6
#define CS D2
#define WR D7
//#define RD 7

DFRobot_HT1632C ht1632c = DFRobot_HT1632C(DATA, WR,CS);

char str[] = "Hello";

void setup() {
  // put your setup code here, to run once:
  ht1632c.begin();
  ht1632c.isLedOn(true);
  ht1632c.clearScreen();
    ht1632c.setCursor(0,0);
  ht1632c.print(str);
}

void loop() {
  // put your main code here, to run repeatedly:

}

Result

The LED matrix displays the text "Hello".

Was this article helpful?

TOP