Re: Peggy 2 novice having problems with Peggy Draw 2

Home Evil Mad Scientist Forums LED Matrix Kits Peggy 2 novice having problems with Peggy Draw 2 Re: Peggy 2 novice having problems with Peggy Draw 2

#20815
Windell Oskay
Keymaster

The solution is to reprogram the Peggy 2, such that it does not try to light up the unpopulated rows of LEDs.  To do this, open up the Peggy2.cpp file from the library.  Find the two sections that contain a “while (j < 25)” part, and change those to skip the rows that you’ve left unpopulated.  The best method would be to make it so that it needs fewer total trips through that loop– doing so can actually make the display brighter.