Max7219 new component!

Tips, Tricks and methods for programming, learn ways of making your programming life easier, and share your knowledge with others.

Moderators: Benj, Mods

jgu1
Posts: 1102
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1003 times
Been thanked: 255 times
Contact:

Max7219 new component!

Postby jgu1 » Thu Dec 27, 2018 8:43 pm

Hi all!

Martin "mnf" Valued contributor has been kind to create a Macro component for me, a macro component for the Max7219 display. 8x8 dot display.
With the permission of Martin, (thank´s Martin) I hereby share it with everyone here, and demonstrate some of all the fancy function the display can do. and it is many :D
First you need to place the Max7219_v2.fcpx component in a lib and add the component to FC8.
Next, you have to create a path in Flowcode8 Wiev > global option > location (for me: C:\Flowcode8\Max7219_v2.fcpx;).

In my case/example I use an Arduino Nano 328 as device. I am sure that other device´s also can be used. And you need a display like this: https://www.ebay.com/itm/MAX7219-Microc ... 1438.l2649

I made an example with some of the funtion which is possible with the Component macro, there is many fancy function.

If you have, like me a little passions for display´s, I recommend to give it a try :lol:

Best regard and happy newyear!

Jorgen
Attachments
MartinMax7219Test.fcfx
(22.73 KiB) Downloaded 97 times
Max7219_v2.fcpx
(8.39 KiB) Downloaded 83 times
These users thanked the author jgu1 for the post (total 4):
kersing (Thu Dec 27, 2018 9:59 pm) • mnf (Thu Dec 27, 2018 10:54 pm) • medelec35 (Fri Dec 28, 2018 3:16 am) • Benj (Wed Mar 06, 2019 5:18 pm)
Rating: 21.05%
 

mnf
Valued Contributor
Valued Contributor
Posts: 558
Joined: Wed May 31, 2017 11:57 am
Has thanked: 54 times
Been thanked: 313 times
Contact:

Re: Max7219 new component!

Postby mnf » Thu Dec 27, 2018 10:58 pm

Thanks Jorgen,

Runs smoothly for me :D Good to see someone using the component :!:

Martin
These users thanked the author mnf for the post (total 3):
jgu1 (Fri Dec 28, 2018 9:45 am) • astro1234 (Sun Dec 30, 2018 12:31 pm) • Benj (Wed Mar 06, 2019 5:18 pm)
Rating: 15.79%
 

jgu1
Posts: 1102
Joined: Tue Oct 06, 2009 9:39 am
Has thanked: 1003 times
Been thanked: 255 times
Contact:

Re: Max7219 new component!

Postby jgu1 » Fri Dec 28, 2018 9:50 am

Hi Martin!

Of course when you have done such a great job, it must also be used, and it Will. :D Good component. Thank` again.

Br Jorgen.

MJU
Posts: 429
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 105 times
Been thanked: 94 times
Contact:

Re: Max7219 new component!

Postby MJU » Tue Mar 05, 2019 6:46 pm

I can't seem to import this component.

FC always opens with the message that this component is made in a newer version of FC.
I have the latest FC V8 and no updates available.

Any help is welcome.

If this component runs smooth, why don't distribute as a standard component with the coming update of FC8?

mnf
Valued Contributor
Valued Contributor
Posts: 558
Joined: Wed May 31, 2017 11:57 am
Has thanked: 54 times
Been thanked: 313 times
Contact:

Re: Max7219 new component!

Postby mnf » Tue Mar 05, 2019 7:09 pm

Compiled with V8. There are also versions made with v7 on the board, see the final messages in viewtopic.php?f=66&t=19356&hilit=Max7219 for example. Unfortunately I'm rather under the weather at the moment, and looking at a computer screen for more than a few minutes at a time is out :cry: - so I can't recompile at present. If you pm me I can post you the source code (when my head stops banging)
I'd be quite happy if Matrix want to distribute it as a component, although they would probably want to add some simulation code ..
Martin
These users thanked the author mnf for the post (total 2):
MJU (Wed Mar 06, 2019 12:58 am) • jgu1 (Wed Mar 06, 2019 5:53 am)
Rating: 10.53%
 

MJU
Posts: 429
Joined: Wed Nov 07, 2007 6:51 pm
Location: Antwerp Belgium
Has thanked: 105 times
Been thanked: 94 times
Contact:

Re: Max7219 new component!

Postby MJU » Wed Mar 06, 2019 12:58 am

Thank you mnf,

Sorry to hear you are ill, hope you get better soon!

But there seems something wrong with the way I add components to my Flowcode V8.
The description above doesn't seem to work for me?

What is the most recent Flowcode 8 component for these modules? Is there one that also has support for 7segments?