-
Notifications
You must be signed in to change notification settings - Fork 196
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
hub75: fix data buffering #722
hub75: fix data buffering #722
Conversation
I have confirmed sample-program works without any problems. ehime-iyokan/DisplayWeatherInfoOnLEDmatrix@4ec0054 |
@conejoninja PTAL |
It's on my list, I need to check it doesn't have any unintended consecuences |
I'm having some hardware issues that doesn't allow me to test this, adding @aykevl just in case I can't review it before next release |
I'll try to consider test patterns. @conejoninja |
I have summarized the code fix and test patterns. @conejoninja 🔧 Details of Fix
🛠️ Fix Implementation
🔍 Observations
🧪 Sample Code for Behavior Verification
📝 Test VerificationVerification of Red LED Operation
No Interference with Other Colors
Note
📋 Test Results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the correctness of this PR is demonstrated by the following code. The intended behavior is to clear a specific bit, but the previous code cleared all bits below it as well.
https://go.dev/play/p/cVr8fXGKSSi
before
11111110
11111100
11111000
11110000
11100000
11000000
10000000
00000000
after
11111110
11111101
11111011
11110111
11101111
11011111
10111111
01111111
This is evident when looking at the handling of other colors as well.
Thanks for review @sago35 and to @ehime-iyokan for the fix. Now merging. |
I fixed buffering of red data. ( #691 (comment) )
The red data seems to be misaligned, so the display position is incorrect;
however, the other colors are fine.