11-18-2021 11:27 AM
I have been trying to control a led matrix with max7219 for a class project but i cant get it to work. I am pretty new to labview and arduino so I really confused at what i am doing wrong. The first three states are to initialize the led matrix, the 4th case does nothing while the 5th case inputs a 16bit binary code. It seems that for display test and shutdown mode works fine but when i try a digit mode to utilize the matrix in normal mode nothing happens. If someone can point out what i am doing wrong it would be of so much help. I attach my VI as well as some data from data sheets. I suspect I also am using wrong the function 'spi write by n frames'. I have been trying a number of different things but i cant figure out where the fault is.
I am using an Arduino Uno and led matrix max7219. I dont get any error code, but i dont get the output wanted in the matrix.
Solved! Go to Solution.
11-19-2021 05:42 PM
Hello TheMartin
- If the first three states are for "initialization":
- What is the "boolean" button for?
- You are only going through numbers 4 and 5 states, the code never goes to the 0, 1, 2 and 3 states numbers because you are starting at 4.
In addition, where you are building the array, you are doing this:
As you can see, this is not what you need for writing into the SPI function.
11-22-2021 06:15 PM
Thank you very much, indeed the initialization was the problem. I know the structure is a mess, but changing the initialization to 0 instead of 4 worked. Sorry for such a rookie mistake. I just got such an immense relief. Thank you very much.
11-22-2021 06:23 PM
08-28-2024 04:41 AM
hey, can u help me? im trying to control the matrix 7219 using labview with myrio as controller, i don't know where to start, do u have any reference?