Comments (7)
from esp32-hub75-matrixpanel-dma.
Thanks csloz.
@madnat - I've updated the README now to highlight this.
from esp32-hub75-matrixpanel-dma.
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.
Apologies. I broke something in the most recent release. Let me debug and report back with fix.
from esp32-hub75-matrixpanel-dma.
Try again with the latest release 1.2.2 - download from github and try again. THanks
from esp32-hub75-matrixpanel-dma.
That now works - thanks very much!
from esp32-hub75-matrixpanel-dma.
Excellent. Closing this issue.
from esp32-hub75-matrixpanel-dma.
Related Issues (20)
- How to know driver led HOT 6
- S-P4-2020-A3 origin pixel issue HOT 3
- Cant use this library HOT 2
- Battery Vs. Panel HOT 2
- Help me with the 32x32-8s panel HOT 8
- P3 (resolution 104 * 52) panel display position incorrect HOT 9
- P5 screens in chains, 3.0.9 and 3.0.10 horizontal misalignment HOT 3
- flipDMABuffer - What am I doing wrong? HOT 1
- 64*32 1/8 problem please help HOT 6
- 128x64 1/32 ICN2037BP panel: strange (non)use of the E line HOT 3
- p4 64x32 1/8 problem. HOT 14
- CFD435AQP9 S-PWM Panel HOT 19
- P4 64x32 matrix chain 2x2 problem HOT 39
- NO_GFX/Adafruit_GFX: m_cfg struct seems to be "wrong" when calling "allocateDMAmemory", causing a crash HOT 3
- Newbe: P4 Outdoor panel 80x40 nothing works HOT 21
- Font change HOT 6
- Artifacts when playing a GIF file on a uniform background HOT 5
- Aurora demo won't compile HOT 6
- Outdoor panel with 16207S driver low brightness HOT 10
- P8 32x16 HOT 21
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esp32-hub75-matrixpanel-dma.