Hello,
Im afraid you cannot currently create a component that you will be able to simulate. You can however use the custom components if you need to embedd your own functionality.
Led Matrix
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Led Matrix
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Led Matrix
Hello Scorpy,
The custom components are a way of creating macros that you can call using component macro icons. You must have an understanding of C programming to utilize this functionality. One easy way of doing this is to create your code in Flowcode and then compile to C and use this C code as a basis for your component functions.
There is a guide on using the custom components available from here.
http://www.matrixmultimedia.com/softwar ... owcode.pdf
And a helpful perl script for creating the function headers is available from here.
http://matrixmultimedia.com/mmforums/vi ... &sk=t&sd=a
The custom components are a way of creating macros that you can call using component macro icons. You must have an understanding of C programming to utilize this functionality. One easy way of doing this is to create your code in Flowcode and then compile to C and use this C code as a basis for your component functions.
There is a guide on using the custom components available from here.
http://www.matrixmultimedia.com/softwar ... owcode.pdf
And a helpful perl script for creating the function headers is available from here.
http://matrixmultimedia.com/mmforums/vi ... &sk=t&sd=a
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Led Matrix
Hello Scorpy
Yes it is possible, how are you coding your matrix at the moment? Are you using an interrupt based technique?
Yes it is possible, how are you coding your matrix at the moment? Are you using an interrupt based technique?
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Led Matrix
Hello Scorpy
I thought you were going to use a setup similar to the PICXIE? this uses a 8-bit data bus and 2 single bit clocks to allow the data to be clocked in to each device a row or a column at a time. Your interrupt service routine would have to strobe the 8 rows or columns one after another quickly enough so the end user does not see the rows or columns flashing.
To scroll what I would do is create an array of rows or columns and then use an interrupt service routine to output a 8 x 8 section of the memory array. Text and other outputs can be printed to the array in your program similar to how you would use a gLCD. You can then simply shift the start location used by the interrupt service routine and this would let you scroll along the memory array.
The PICXIE example assembler program may help a bit as it does all of this. However it is in assembler so very unreadable. If you are stilll struggling to get started then let me know and ill see if I can help.
I thought you were going to use a setup similar to the PICXIE? this uses a 8-bit data bus and 2 single bit clocks to allow the data to be clocked in to each device a row or a column at a time. Your interrupt service routine would have to strobe the 8 rows or columns one after another quickly enough so the end user does not see the rows or columns flashing.
To scroll what I would do is create an array of rows or columns and then use an interrupt service routine to output a 8 x 8 section of the memory array. Text and other outputs can be printed to the array in your program similar to how you would use a gLCD. You can then simply shift the start location used by the interrupt service routine and this would let you scroll along the memory array.
The PICXIE example assembler program may help a bit as it does all of this. However it is in assembler so very unreadable. If you are stilll struggling to get started then let me know and ill see if I can help.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel