lmirel / MorphingClockRemix

a remix on the work of HarryFun's MorphingClock
https://www.instructables.com/id/Morphing-Digital-Clock/
78 stars 30 forks source link

New Version of PxMatrix and No Display #24

Open PurelyAbrasive opened 4 years ago

PurelyAbrasive commented 4 years ago

I have upgraded to the new version of PxMatrix and the screen is now blank. I have tried other tests and I know the screen works with this version. Can you take a look and see if there is something in your files that may be causing an issue. I am getting serial output with the correct data just nothing on the screen.

anthonyjclarke commented 4 years ago

Same for me

lmirel commented 4 years ago

I haven't compiled this for a long time and unfortunately I don't see how I can find the time to try this any time soon. are there any examples with the PxMatrix lib? do those examples work?

anthonyjclarke commented 4 years ago

Yes samples in PxMatrix Lib work for me!

evilsperm commented 4 years ago

@anthonyjclarke did you get this fixed? Pattern test works for me in the examples.

anthonyjclarke commented 4 years ago

Not fixed this yet, was going to try 1.7. On my todo list

evilsperm commented 4 years ago

I bought a new matrix thinking the one I had was toast ;( I'll move to an old version of PxMatrix and see if I can get it back up and running. Ok Got it working again! use this: https://github.com/2dom/PxMatrix/releases/tag/v1.3.0 the latest PxMatrix does not work with the updated MorphClockRemix for some reason (also doesn't work with the original MorphClock)

lmirel commented 3 years ago

it seems the new PxMatrix requires a few new things:

#define PxMATRIX_double_buffer true
#include <PxMatrix.h>

instead of:

#define double_buffer
#include <PxMatrix.h>

then at the end of the loop() function, you'll need:

display.showBuffer();

It might not hurt to have also:

  display.begin (16);
  display.setFastUpdate(true);

in the setup() function, instead of just:

  display.begin (16);

Let me know if this works for you.

momewrath commented 3 years ago

This worked for me! Thanks for the update.