File tree Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Expand file tree Collapse file tree 2 files changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -745,25 +745,17 @@ void RGBmatrixPanel::updateDisplay(void) {
745
745
if (row & 0x1 ) *addraport |= addramask;
746
746
else *addraport &= ~addramask;
747
747
// MYSTERY: certain matrices REQUIRE these delays ???
748
- // And only in these two spots...other address lines don't need them!
749
- // This is true whether AVR or ARM; only the period is different.
750
- #if defined(ARDUINO_ARCH_SAMD)
751
- delayMicroseconds (2 );
752
- #else
753
- delayMicroseconds (4 );
754
- #endif
748
+ delayMicroseconds (10 );
755
749
if (row & 0x2 ) *addrbport |= addrbmask;
756
750
else *addrbport &= ~addrbmask;
757
- #if defined(ARDUINO_ARCH_SAMD)
758
- delayMicroseconds (2 );
759
- #else
760
- delayMicroseconds (4 );
761
- #endif
751
+ delayMicroseconds (10 );
762
752
if (row & 0x4 ) *addrcport |= addrcmask;
763
753
else *addrcport &= ~addrcmask;
754
+ delayMicroseconds (10 );
764
755
if (nRows > 8 ) {
765
756
if (row & 0x8 ) *addrdport |= addrdmask;
766
757
else *addrdport &= ~addrdmask;
758
+ delayMicroseconds (10 );
767
759
}
768
760
}
769
761
Original file line number Diff line number Diff line change 1
1
name =RGB matrix Panel
2
- version =1.1.2
2
+ version =1.1.3
3
3
author =Adafruit
4
4
maintainer =Adafruit <
[email protected] >
5
5
sentence =Arduino library and example code for the 16x32 RGB matrix panels in the shop
You can’t perform that action at this time.
0 commit comments