0

Metro+Music Maker+Neopixel Sheild
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Metro+Music Maker+Neopixel Sheild

by adafruit_support_bill on Sat Oct 13, 2018 6:52 am

Same issue as with the start/stop music logic. You are re-drawing the pixels on every pass through the loop. You only need to do that when the button is pressed. You should move that code inside your button press logic - just like I did for your music playing code.

adafruit_support_bill
 
Posts: 70027
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.