s-marley / ESP32_FFT_VU

A spectrum analyzer VU meter for the ESP32 and a FastLED matrix
Other
274 stars 67 forks source link

Push button #1

Closed frankiha closed 3 years ago

frankiha commented 3 years ago

Pin D2 is connected to a momentary push button which is used to change display modes, don't work for me in ground, i conected in V+ to work.

sorry my english.

s-marley commented 3 years ago

Thank you for letting me know. I'm away on holiday at the moment, but will check if I have made a mistake when I get back.

On Wed, 9 Sep 2020, 20:19 frankiha, notifications@github.com wrote:

Pin D2 is connected to a momentary push button which is used to change display modes, don't work for me in ground, i conected in V+ to work.

sorry my english.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/s-marley/ESP32_FFT_VU/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSGWSOUL2AKF2ETNFJJQ4LSE7IMNANCNFSM4RDB35PQ .

s-marley commented 3 years ago

Hi @frankiha, just to let you know I have updated the code with a new button library (EasyButton) meaning you can now long-press to have the pattern change automatically every 10s. This also required changing the button pin from D2 to D4 as the pullup didn't want to work on pin 2. So the button should go from pin D4 to ground as shown in the images. Thanks again for bringing it to my attention.