o Switch on GPIO slow-down by default. Limits support requests.

This commit is contained in:
Henner Zeller 2015-11-19 23:02:24 -08:00
parent 119fb3949d
commit 3e41f8d2e0
2 changed files with 7 additions and 3 deletions

View file

@ -415,9 +415,13 @@ If you encounter this, try these things
slow down the GPIO writing a bit. This will of course reduce the
frame-rate, so it comes at a cost.
For GPIO slow-down, uncomment the following line in [lib/Makefile](lib/Makefile)
For GPIO slow-down, the following line in the [lib/Makefile](lib/Makefile)
is interesting:
#DEFINES+=-DRGB_SLOWDOWN_GPIO # remove '#' in the beginning
DEFINES+=-DRGB_SLOWDOWN_GPIO=1
The default value is 1, if you still have problems, try the value 2. If you
know that your display is fast enough, try to comment out that line.
Then `make` again.

View file

@ -32,7 +32,7 @@ TARGET=librgbmatrix.a
# the frame-rate.
# Sometimes, you even have to give RGB_SLOWDOWN_GPIO=2 for particularly slow
# panels or bad signal cable situations.
#DEFINES+=-DRGB_SLOWDOWN_GPIO=1
DEFINES+=-DRGB_SLOWDOWN_GPIO=1
# ------------ Pinout options; usually no change needed here --------------