Add unique header files to the SmartMatrix Library inside each instance of the SmartMatrix Library. Have the header file contain #include <SmartLEDShieldV4.h> for the Teensy one, and #include <SmartMatrix3.h> for the ESP32 one.
So in your Teensy sketch you `#include <SmartMatrix_Teensy_Unique_Header.h>
In your ESP32 sketch you `#include <SmartMatrix_ESP32_Unique_Header.h>
Good tip, I’ll try that, thanks. To be clear the teensylc/ESP32 branch is not compatible with teensy v3.x, so I can’t just use that branch for both, correct?
Here is a better demo of teensy v3.6 (top) vs ESP32 direct wiring (bottom)
the demo mostly works, you can see a bit of ghosting on the white font (strangely no ghosting when I use 64x64 panel output instead of 64x32). Strangely too the first background is dark red by default with teensy, but full black with ESP32.
On the bright side, ESP32 is 99% working for me out of the box with direct wiring, so thank you for that
Actually since I’ll be working with both the ESP32 and teensy trees: is it accurate that master and teenylc(aka ESP32) have diverged and that one is not inclusive of the other?
Or does one of the trees work on both chips and I don’t have to switch back and forth?
Thanks for clearing up the teensylc branch. I’ll make sure only to use it for ESP32 then. And no big deal with the red background issue, I was just checking the differences between the two. All in all ESP32 worked pretty well, even with direct wiring which you haven’t used in a while.
Given that it’s unlikely that I’ll get neopixel strips working with teensy ( SmartMatrix + FastLED Neopixels + Interrupt driven IR - #2 by marcmerlin) this is good news. I’ll try and do more work with ESP32 since it seems to work well enough.
Just FYI, I have this up an running video, and it’s great at 64x32 (30+ fps) but it DRAGS as the matrix, and hence the data, get larger. At 64x64 its only 10-15 fps, and so on.
I think this is because I am caching the frames in PSRAM.
I also added Alpha blending and chroma keying to layers. Can I send you (Louis) a zip to review or did I need to check it into github myself? I’ve never done that…
I think it would be best for both of us if you committed your changes to GitHub, but if it’s a real barrier right now, send it to me and I can look it over.
Hi Dave, I’m going to be working on a major SmartMatrix Library release over the next month or so, so now would be a good time for me to get your changes integrated into the library. If using GitHub is too difficult, please send me a zip with anything you’d like to commit. Thanks!
You probably have an old version of SmartMatrix Library. Upgrade to the latest version and try again. If it doesn’t compile, please post your full compilation output in a new thread and I’ll try to help.
Hi Louis thank you for your replaying I use Arduino IDE 1.8.16 and I have a problem with esp32_i2s_parallel.c and ESP 2.0.1 SDK when compiling the example
Sorry, I don’t think ESP SDK 2.x is supported. I’m using 1.6 myself. If you open a GitHub issue and add a few details that would be helpful, but I don’t think I can fix this myself anytime soon
Bagaimana caranya agar di row 0 dan col 0 dengan width 16 height 16 itu menampilkan jam sedang lainya menampilkan runningtext
Nah pas text sampai di belakang jam maka text tertutupi dan jam tetap tampil