Coder Social home page Coder Social logo

Comments (7)

csloz avatar csloz commented on August 16, 2024

from esp32-hub75-matrixpanel-dma.

mrcodetastic avatar mrcodetastic commented on August 16, 2024

Thanks csloz.

@madnat - I've updated the README now to highlight this.

from esp32-hub75-matrixpanel-dma.

madnat avatar madnat commented on August 16, 2024

Thanks! Regrettably the code still aborts with this change :(

Again - if I comment out "matrix.setFont(&FreeSans9pt7b); // This command causes a reset" the code runs with default font (6x8)

// Test the RGB64x32MatrixPanel_I2S_DMA setFont Function

#include <Arduino.h>
#include <ESP32-RGB64x32MatrixPanel-I2S-DMA.h>
#include <Fonts/FreeSans9pt7b.h>

RGB64x32MatrixPanel_I2S_DMA matrix;

////////////////////////////////////////////////////////////////////
// Font Test
//
//
// pinout for ESP38 38pin module
// http://arduinoinfo.mywikis.net/wiki/Esp32#KS0413_keyestudio_ESP32_Core_Board
//

// R1 | G1
// B1 | GND
// R2 | G2
// B2 | E
// A | B
// C | D
// CLK| LAT
// OE | GND

#define R1 25
#define G1 27
#define BL1 26
#define R2 14 // 21 SDA
#define G2 13 // 22 SDL
#define BL2 12
#define CH_A 23
#define CH_B 19
#define CH_C 5
#define CH_D 17
#define CH_E -1 // assign to pin if using two panels
#define CLK 16
#define LAT 4
#define OE 15

void setup(){

matrix.begin(R1, G1, BL1, R2, G2, BL2, CH_A, CH_B, CH_C, CH_D, CH_E, LAT, OE, CLK); // setup the LED matrix

matrix.setFont(&FreeSans9pt7b);

matrix.setPanelBrightness(50); // SETS THE BRIGHTNESS HERE. 60 OR LOWER IDEAL.
matrix.setTextColor(matrix.color444(255, 255, 255)); // r,g,b
matrix.setCursor(6, 7);
matrix.print("Leeds 4");
matrix.setTextColor(matrix.color444(255, 0, 0)); // r,g,b
matrix.setCursor(6, 17);
matrix.print("Man Utd 0");

}

void loop()
{

}

from esp32-hub75-matrixpanel-dma.

mrcodetastic avatar mrcodetastic commented on August 16, 2024

Apologies. I broke something in the most recent release. Let me debug and report back with fix.

from esp32-hub75-matrixpanel-dma.

mrcodetastic avatar mrcodetastic commented on August 16, 2024

Try again with the latest release 1.2.2 - download from github and try again. THanks

from esp32-hub75-matrixpanel-dma.

madnat avatar madnat commented on August 16, 2024

That now works - thanks very much!

from esp32-hub75-matrixpanel-dma.

mrcodetastic avatar mrcodetastic commented on August 16, 2024

Excellent. Closing this issue.

from esp32-hub75-matrixpanel-dma.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.