MAX7219 32x32 LED Display

Post and discuss new components that you have created.
mnfisher
Valued Contributor
Posts: 2004
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 158 times
Been thanked: 943 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

Something awry with v10....

So - I re-exported from v10 and it still crashed - send report bad crash...

I re-exported again and still no joy. So I tried adding another component - first that I tried failed (unable to add) - second (picked at random - grove_humidity_sht31) added okay... Then I could add the display component - and compiles okay. Also runs okay in sim. I could also delete the grove component (although still in the file here)

Martin
Attachments
Display4x4Max7219.fcpx
(4.85 KiB) Downloaded 9 times
led_test2.fcfx
(8.99 KiB) Downloaded 8 times

kaqkk007
Posts: 68
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 2 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

The breakthrough has happened—thank you. It's already running in the simulator and compiling to hex.

Steve-Matrix
Matrix Staff
Posts: 1896
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 278 times
Been thanked: 445 times

Re: MAX7219 32x32 LED Display

Post by Steve-Matrix »

Thanks. I will have a look to see if I can determine why this component is causing a crash.

mnfisher
Valued Contributor
Posts: 2004
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 158 times
Been thanked: 943 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

kaqkk007 - phew... Lets us know how you get on!

Steve - thanks, I might have done something odd?

kaqkk007
Posts: 68
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 2 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

It's already working in the simulation—how can I view and interact with the LUT? Right now, I can only create numbers and individual light points.

mnfisher
Valued Contributor
Posts: 2004
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 158 times
Been thanked: 943 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

What would you like to do?

I had a fairly specific need (points and numbers) when I wrote it - but it could be extended fairly easily?

Martin

kaqkk007
Posts: 68
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 2 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

I've "gotten the hang of it." At first, my goal was just a 4- to 6-digit clock, but if I could edit characters and letters, it could look even more impressive.

mnfisher
Valued Contributor
Posts: 2004
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 158 times
Been thanked: 943 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

The LUT contains 16*16bit maps for 0..9. I got AI to draw the characters with limited success :( The LUT could be the extended to include other characters (either text or graphic) if needed (for example set char 10 to be ':' for your clock?) or go the whole way and use ASCII?

kaqkk007
Posts: 68
Joined: Sat Feb 04, 2023 1:09 pm
Has thanked: 4 times
Been thanked: 2 times

Re: MAX7219 32x32 LED Display

Post by kaqkk007 »

As far as I'm concerned, there's no reason why we couldn't use ASCII characters—or even write a LUT—if a "mere mortal" could access it. The only thing missing from our repertoire is the display itself. https://www.youtube.com/channel/UCanvQp ... LOj5nXYJ2Q

mnfisher
Valued Contributor
Posts: 2004
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 158 times
Been thanked: 943 times

Re: MAX7219 32x32 LED Display

Post by mnfisher »

As another thought - it would be easy to add a DrawChar macro that takes an array of data - so the client program would store it's own data. This could work with 16*16 (as Write) or possibly 8x8?

Martin

Post Reply