Been having fun with my matrices and SmartMatrix shield. But I updated some libraries and now I get compile errors.
Okay, I understand I must use #include <SmartMatrix.h> instead or SmartMatrix3.h.
And I must #include <MatrixHardware_Teensy3_ShieldV4.h>
So I have a number of sketches to fix.
But in displaying my animated GIFs, I’m getting: ‘class GifDecoder<64, 32, 12>’ has no member named ‘getCycleNo’
This comes from the following code:
#if 0 // 0 for AND time/len, 1 for OR time/len
// default behavior is to play the gif for DISPLAY_TIME_SECONDS or for NUMBER_FULL_CYCLES, whichever comes first
if((now - displayStartTime_millis) > (DISPLAY_TIME_SECONDS * 1000) || decoder.getCycleNo() > NUMBER_FULL_CYCLES)
nextGIF = 1;
#else
// alt behavior is to play the gif until both DISPLAY_TIME_SECONDS and NUMBER_FULL_CYCLES have passed
if((now - displayStartTime_millis) > (DISPLAY_TIME_SECONDS * 1000) && decoder.getCycleNo() > NUMBER_FULL_CYCLES)
nextGIF = 1;
#endif
Did the GIF Decoder change?
Thanks!
Stan Hall