I am sending a number string (pulse count) to the LED matrix (ie:123) but it is shifted to the right by 2 led columns, so the last character gets cut off. is there a way to shift it over 2 columns? It can also scroll, but I prefer it to be stationary.
You are using a 5x7 font on a display that is 12 columns wide, you will not be able to display three characters at once, so scrolling will be necessary.
This is what I expected. (Scrolling solution)
But do not understand why the first column is blank, when the 3rd character fills the last two columns and is cut off. It displays 2 1/2 characters. The text is not centered in the matrix. I tried a 4 x 6 font and it displays all 3 characters so long as the first is a 1.
Even a two number string is not centered, but left justified. Not a big deal, is there a way to center justify?
Am guessing the random justification is just a quirk with the LED matrix?
If you want two digits centered on the display, you will need to do that in your code. There is no automated text centering.
That is something you are causing. Directly printing an integer will not produce a leading space, but you have not shown us what pulseCount is or how you are manipulating it before printing.
Sorry, I should have posted this to the UNO R4 forum. (The R4 has a built in LED matrix)
Most people seem to use scrolling text or graphics on the matrix. I have not seen any code from programmers just displaying fixed text/numbers on the R4. The matrix randomly right or left justifies the text.
The pulseCount is just a numeric string; 123 etc...
We need to see All of your code so that we can try it ourselves.
That is how we can solve things for you.
Please cooperate.
You can move it there yourself you know. Move your pointer over the title of your opening post and a large black icon of a pence will appear. Click on that and you can choose the location of the thread.
Please provide a minimal Arduino sketch that demonstrates this problem. A minimal demonstration will allow you to avoid sharing your precious real project code while also making it easier for us to support you, so it is a win all around.
Please also provide a detailed description of the behavior you expect from that minimal program, and exactly what you observe in the matrix when the program is running on the board that does not match your expectations.