/************************************************************************************************* PROGRAMMINFO ************************************************************************************************** Funktion: ESP32 LED Matrix Test ************************************************************************************************** Version: 15.01.2022 ************************************************************************************************** Board: ESP32vn IoT UNO V1.0.4 ************************************************************************************************** C++ Arduino IDE V1.8.13 ************************************************************************************************** Einstellungen: https://dl.espressif.com/dl/package_esp32_index.json http://dan.drown.org/stm32duino/package_STM32duino_index.json https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json ************************************************************************************************** Librarys - Freenove_VK16K33_Lib_For_ESP32.h ************************************************************************************************** **************************************************************************************************/ #include "Freenove_VK16K33_Lib_For_ESP32.h" #define EMOTION_ADDRESS 0x71 #define EMOTION_SDA 21 #define EMOTION_SCL 22 Freenove_ESP32_VK16K33 matrix = Freenove_ESP32_VK16K33(); byte x_array[][8] = {//Put the data into the left LED matrix ////////////////////////////////////////////// 0x00, 0x18, 0x24, 0x42, 0x42, 0x24, 0x18, 0x00, 0x00, 0x18, 0x24, 0x5A, 0x5A, 0x24, 0x18, 0x00, ////////////////////////////////////////////// }; byte y_array[][8] = {//Put the data into the right LED matrix ////////////////////////////////////////////// 0x00, 0x18, 0x24, 0x42, 0x42, 0x24, 0x18, 0x00, 0x00, 0x18, 0x24, 0x5A, 0x5A, 0x24, 0x18, 0x00, ///////////////////////////////////////////////// }; void setup() { matrix.init(EMOTION_ADDRESS, EMOTION_SDA, EMOTION_SCL); matrix.setBlink(VK16K33_BLINK_OFF); } void loop() { int count = sizeof(x_array) / sizeof(x_array[0]); for (int i = 0; i < count; i++) { matrix.showStaticArray(x_array[i], y_array[i]); delay(500); } }