Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using the new lib "PxMatrix" instead of the old "P10_matrix" #1

Open
obakuhl opened this issue Apr 14, 2018 · 11 comments
Open

Using the new lib "PxMatrix" instead of the old "P10_matrix" #1

obakuhl opened this issue Apr 14, 2018 · 11 comments

Comments

@obakuhl
Copy link

obakuhl commented Apr 14, 2018

I've tried to use the new "PxMatrix" lib instead of the old "P10_matrix".
So i've changed following row apart from the inclusion of the new lib from:

P10_MATRIX display(P_LAT, P_OE,P_A,P_B,P_C);
to
PxMATRIX display(32,16, P_LAT, P_OE,P_A,P_B,P_C);

But it doesnt work. In the beginning it appears only pixel "porridge" instead of "Pixel Time" sign and after that the leds are dark. Do i have to changed another row in the code too?

The reason behind that is the leds are flickering little bit, i've changed the cpu frequency to 160 MHz, but it doesnt help. I'm hoping this is eliminated with the new lib.

Thanks.

@2dom
Copy link
Owner

2dom commented Apr 14, 2018 via email

@obakuhl
Copy link
Author

obakuhl commented Apr 14, 2018

Hi Dom,
thanks for your reply. Oh i didnt see this. Now its working. Thanks. But there has to be an other error now, because the ESP is always restarting and it only appears "Pixel Time", nothing for a few seconds, "Pixel Time", etc.

br Ben

@2dom
Copy link
Owner

2dom commented Apr 14, 2018 via email

@obakuhl
Copy link
Author

obakuhl commented Apr 14, 2018

Well the examples are working but i'm failing with this PixelTime sketch (PixelTime.ino) and not with the examples of PxMatrix. I've changed the ticker period from 0.001 to 0.002 (like in the example), but it's still restarting.

br Ben

ps: maybe its not working with the new lib, but i think it would remove the flickering.

@2dom
Copy link
Owner

2dom commented Apr 14, 2018 via email

@obakuhl
Copy link
Author

obakuhl commented Apr 14, 2018

Great, now its working. But its still flickering (high frequently). Is this "normal"?

br Ben

@2dom
Copy link
Owner

2dom commented Apr 14, 2018 via email

@obakuhl
Copy link
Author

obakuhl commented Apr 15, 2018

Not that bad, but it's noticeable. Does it depends on the brightness of the leds or on the power supply? I've tried several usb adapters (1A-2A), but this doesnt improve anything.

br Ben

@2dom
Copy link
Owner

2dom commented Apr 15, 2018 via email

@obakuhl
Copy link
Author

obakuhl commented Apr 16, 2018

Thank you for your reply. I will try it and let you know it.

Br Ben

@wyojustin
Copy link

wyojustin commented Dec 14, 2019

Thank you @obakuhl, I fixex the flickering issue by using PxMatrix lib and "double_buffer"ing.

wyojustin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants