Teensy 3.5 with vers 3 sm board and Aurora.?


Hey Louis and Jason… Hope you guys are well…

I purchased the Teensy 3.5, with hope that i could attach it to ver 3 smartmatrix board and use the extra memory to run Aurora in 64x64 mode… at this time i can run the gif animations on the 3.5 with no problem. But not Aurora it will not compile without errorrs. Jason had made a few adjustments last year to Aurora for the 64x64 but that did not seem to help. I have the latest arduino ide, and teensyduino… and latest smartmatrix library with latest edits but still i have no luck ?

error as follows…

aJSON.h:92:6: error: conflicting return type specified for ‘virtual int aJsonStream::flush()’

int flush();


In file included from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/Stream.h:24:0,

             from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/HardwareSerial.h:252,

             from C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/WProgram.h:46,

             from C:\Users\Mannys\AppData\Local\Temp\arduino_build_905405\pch\Arduino.h:6:

C:\Program Files (x86)\Arduino\hardware\teensy\avr\cores\teensy3/Print.h:62:15: error: overriding ‘virtual void Print::flush()’

virtual void flush() { }

I Am running a very trimmed down version of aurora with clock feature and about 6 patterns on the teensy 3.2 on a 64x64 setup… 2 x 32x64 panels… would love the help to get it all on the teensy 3.5…


Just to add… All the smartmatrix demos work on the teensy 3.5 just fine. clock, feature demo etc. i did even try the hex file within the Aurora folder on the 3.5 and i got 4 perfect 32x32 Auroras… i have tried compiling the full version for the teensy 3.2, 3.5, and 3.6 and get the same errors


Did you try this branch? I don’t think Jason finished the port on this, he mentioned something about there being a pause between looping GIFs, but it should mostly be working.


The issue may be with the aJSON library and not Aurora. Maybe they have an updated version of the library available?


Hi Louis I did try that branch and it’s the one I’m having issues with. The last update was about 7 months ago. Jason had also done some work on the gif player to fix some issues. I did share some errors with him in a previous post at the time. I was hoping maybe there had been an update or fix…


Looks like you’re not the only aJSON user to run into this issue. There’s a pull request that fixes it but it looks like the library is not being maintained.

I was able to get past the error when compiling by using this fork of the library, but I’m still getting other issues.


I got it to compile fully, though I haven’t tested it. Jason’s fork of the AnimatedGIFs sketch needs to be put in the Arduino Libraries directory, as Aurora depends on files from the sketch. (I’ve been refactoring AnimatedGIFs so it can be used as a library, though it’s not fully an Arduino Library yet)


The sketch seems to work at least in a limited capacity on a SmartMatrix Shield V4 with 64x64 panel. I see patterns displayed, but I don’t have an IR remote set up to try anything else.

If I add a SD card, it crashes before displaying anything. It will add the “AURORA” and “GIFS” folders and MESSAGES.TXT to a blank SD card. I think the Aurora folder is usually supposed to have some config files inside, but they are missing. This could be a side effect of modifying aJSON, maybe something broke.

I believe Jason is busy, so I wouldn’t expect this to get fixed anytime soon.


I believe this was working back when Jason made his changes. You might consider installing the versions of Arduino and Teensyduino that were available back then, and see if it works with those tools and an unmodified copy of aJSON.


Also, you say you have a version 3 SmartMatrix board, but version 3 won’t (easily) fit a Teensy 3.5. Do you actually have a V4 board? If you have a V4, Jason’s sketch is configured to run on it. If you have V3, you’ll need to open hardware.h and remove the #include that’s in there, as it configures the SmartMatrix Library to use a V4 board.


Hey Louis… Thanks for looking into it…, ive got copies of the ajson and modified gif player i will try again later and let you know how i get on…i did try the gifplayer before when trying to fix the issue in november. The sdcard crash problem i had when i i was running a very minimal version of the 64x64 on the teensy 3.2… so i have a few of the patterns setup on the teensy 3.2 and on the 3.5 i have your gifplayer, and swap between the 2… ( a bit long winded i know)

i did look into upgrading to v4, but when i last looked it was out of stock. i still have about four V3 sitting around so thought i would try and get away with using them. i will see how i get on and if needed will grab a few V4 boards…

thanks again


Yep, V3 and V4 were out of stock for many months, but there are plenty of V4 in stock now. V4 saves a few pins and DMA channels by adding an external latch, and it’s easy to add a Teensy 3.5/3.6 and remove it as well, but If you got a Teensy 3.5 working with V3, good for you!


Hey Loius… after changing the libraries you mentioned, i had only one other error which was the ir remote. i was getting lots of errors regarding timings. after updating / changing the irremote i managed to compile.

Everything is working. , patterns and sound, clock etc… the only issue is with gifs…, it wont boot with a sdcard installed. either using onboard or smartmatrix version 3 onboard…, so setting onboard or pin 15… both crash the teensy 3.5… so looking good so far…if that side could be fixed, that would be brilliant… i fired up my old 32x32 smarmatrix…, its like looking an old crt screen compared to a 4k screen lol… loving the changes jason has made


ok… after playing around with it for a while… i have noticed one other issue…, when running with the standard menu screen… pattern, settings etcs scrolling everything is fine… or if i have it with just the pattern playing… when i place the clock on, which is one of the reason i use it… all the pattens slow or freeze… playback drops to about 50% on some, but spiro stops on the frame its on and repeats it over and over… if i remove the clock it resumes normal playback…