Closed opentable-echamberlain closed 3 years ago
Here's the error I get when trying to compile the bitmaps demo:
` from C:\Users\peters.GOTHAM\Documents\Arduino\libraries\SmartMatrix-master\examples\Bitmaps\Bitmaps.ino:10:
C:\Users\peters.GOTHAM\Documents\Arduino\libraries\SmartMatrix-master\src/SmartMatrix_Impl.h:276:49: note: 'FTM_SC_PS' declared here, later in the translation unit
FTM1_SC = FTM_SC_CLKS(0) | FTM_SC_PS(LATCH_TIMER_PRESCALE);
^
Using library SmartMatrix-master at version 3.2.0 in folder: C:\Users\peters.GOTHAM\Documents\Arduino\libraries\SmartMatrix-master Error compiling for board Teensy 4.0.`
SmartMatrix Library doesn't support Teensy 4.0. From what I understand so far, this isn’t going to be an easy port, and Teensy 4.0 is very unlikely to be compatible with the SmartLED shield. I’m working on something that will allow driving HUB75 panels from any micro with an SPI port, so indirectly I’m working on Teensy 4.0 support, and that’s my priority for now.
I'd like to keep this discussion in one place and this thread in the SmartMatrix Community started first, but if you don't have an account feel free to post on GitHub instead:
I know this isn't really a solution to your problem, but I've whipped together a rough Teensy 4.0/arbitrary pin driver library using the Adafruit libraries - https://github.com/bleckers/RGB-Matrix-Panel-Teensy-4.0
Hopefully this spurs some more testing and development on the SmartMatrix libraries at some point.
Paul's working on porting octows2812 to the Teensy 4.0, which may lend some insight on how to drive a panel with DMA:
https://twitter.com/PaulStoffregen/status/1235215894797619201
I'm still not planning on a direct Teensy 4.0 port, but I do have a Teensy 4.0 on my desk indirectly driving a 128x64 panel, using a prototype adapter board I'm working on.
He's added the Teensy 4.0 support to octows2812!
Interestingly:
"// Teensy 4.x can use any arbitrary group of pins!"
Teensy 4.1 has been released. Is official support more likely with this board?
Support is in progress. An update, and future updates will be posted in the linked thread:
https://community.pixelmatix.com/t/teensy-4-0-released/498/27
For anyone not following the thread in the SmartMatrix Community, here's an announcement about SmartLED Shield for Teensy 4 and our crowdfunding campaign: https://community.pixelmatix.com/t/smartled-shield-for-teensy-4/740
Closing this as the upcoming SmartMatrix Library 4.0 has full Teensy 4 support
Fantastic effort from everyone!
Anyone try the library with the Teensy 4.0?
I’m hoping a faster board would have less flicker issues.