-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug with more then 7 Displays in a row #34
Comments
Hi, I too got the same issue. I am checking DMD2.h file to see whether there are any limitations. but still could not found. |
I also got this issue. I had 10 modules in a row and I was using Note that if you decide to follow this approach, then the digits are located at below (X,Y) cordinates:
|
I am also having the issue with (8,1) with SPIDMD for esp8266 nodemcu. Upto 7, it works fine. The solution as presented by meetpatelvgec won't work for me since I am using custom font and and that I need to increase the number of columns as (8,1), no other way around. |
I found a fix for this. The variable that holds the panel dimensions is type byte and when the value exceeds 8 it fails. So I edited DMD2.h or DMD2.cpp , do not remember exactly which file and which place and entered the numeric values instead of variable and compiled. it worked. Try out. I'll try to find the exact place and post here. |
Thanks a lot @pererasampath. I will give that a try. In case if you happened to find the exact location within the code, please let me know. |
i got same issue. After horizontal series of 7 display, which was working fine, i added one more display in series and updated code SPIDMD dmd(8, 1). It didnt work. I tried to replace all byte variables to int16_t variables in DMD2.h, DMD2.cpp, DMDFrame.cpp. didnt changed anything.. Still got same issue. @pererasampath, waiting for your post ! |
Hi @pererasampath, did you manage to find the places that you have changed? I tried changing datatype of different variables but still couldn't figure that out. |
Finally solved the issue, it was the issue of overflow as has been mentioned by @pererasampath. Need to edit the datatype in the class DMDFrame. |
@shr34sachin Are you able to post the code that has to be edited so that this library can be fixed? Or even open a pull request with the fix. |
@ElectronicRescue I have posted the code and opened the pull request for the fix. Sorry, I got busy and so can't respond immediately. |
Hi, very sorry. I was hospitalized and could not respond timely. Glad @shr34sachin found the and fix the bug. Would like to see the fixed code. Sorry I have no idea of the pull request. Can we see the code? |
@pererasampath Pls check the pull request section, the changes made in two of the files could be found there. |
Hi, I got a Displays which is made out of nine p10 Panels, if i connect my arduino uno and set the SoftDMD to a width of seven panels the first seven displays are working correctly with my test sketch (only a drawLine(0,0,287,0) ).
The Panels are wired from right to left (viewed from the LED Side) according to the arrows on the Back) Panels are in order: 9, 8, 7, 6, 5, 4, 3, 2, 1
If i change the width in SoftDMG to 8 only 4 LED's light up, they are located on Panel 1 on the far right in rows 0, 1, 2 and 3 (vertical line, not horizontal line as intended by the drawLine() function)
If i change the width to nine the line is correct on panel 1, 5, 9 and shifted from row 0 to row 1 on panel 2 and 6, on panel 3 and 7 the line is shifted another row to row 2, on panel 4 and 8 the line is shifted to row 3, I hope this helps to find the error. i try to locate it myself but i'm not so experienced with this topic
The text was updated successfully, but these errors were encountered: