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

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #20813
    Windell Oskay
    Keymaster

    Ah– I was able to see the source code of your comment there, where you linked to a youtube video.  Do I understand correctly that you’ve left several rows unpopulated there? 

    #20814
    kelvinlee
    Participant

    Yes  I left several rows. Was that cause the error?

    #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.

    #20816
    kelvinlee
    Participant

    Got it.I will populate every rows, thanks.

Viewing 4 posts - 16 through 19 (of 19 total)
  • The topic ‘Peggy 2 novice having problems with Peggy Draw 2’ is closed to new replies.