feram18 / led-stock-ticker

A display for real-time prices of stocks, cryptocurrencies, and forex rates on a Raspberry Pi-driven RGB LED matrix board. 📈
GNU General Public License v3.0
72 stars 11 forks source link

Bug with chain #12

Closed zamzyy closed 1 year ago

feram18 commented 1 year ago

trouble getting it to display to both of the matrix displays using --led-chain=2

For reference to anyone else who may be having issues: If your boards are chained you can simply set the values for the --led-rows and --led-cols flags to the values they amount to together. For example. two 32x32 (width x height) boards would add up to 64x32 and the flags would be set to --led-cols=64 and --led-rows=32.

zamzyy commented 1 year ago

First I wanted to thank you for the quick reply,

But I was able to figure it out I tried using --led-cols command but it still wouldn't work. I found that the 128x32.Json file in the utils folder was missing so I copied the 64x32 one and renamed it and it worked! Thanks for your help!

On Sun, Nov 20, 2022, 9:36 AM Luis Ramos @.***> wrote:

trouble getting it to display to both of the matrix displays using --led-chain=2

For reference to anyone else who may be having issues: If your boards are chained you can simply set the values for the --led-rows and --led-cols flags to the values they amount to together. For example. two 32x32 (width x height) boards would add up to 64x32 and the flags would be set to --led-cols=64 and --led-rows=32.

— Reply to this email directly, view it on GitHub https://github.com/feram18/led-stock-ticker/issues/12#issuecomment-1321162715, or unsubscribe https://github.com/notifications/unsubscribe-auth/A4IXCX7LKPITS3ANQF3J4VLWJJAPHANCNFSM6AAAAAASFCU2Y4 . You are receiving this because you modified the open/close state.Message ID: @.***>

feram18 commented 1 year ago

I see. Though currently I don't have support for the 128x32, your solution works. Official support for this board size is on the roadmap for the next release. I'll also add an error message to be logged when this unsupported board size situation occurs to clear things up.