I soldered my capacitive touch wire to pin A2, which is also known as GPIO 27 (see the QT Py Pico pinout diagram, it's the number in yellow).
In the LED Settings screen, scroll to the button setup section and set button 0 to use pin 27, with the type set as "touch".
Next, head to the Time & Macros config screen. Scroll down to the Button actions area.
For button 0, enter the number assigned to the two control presets you made on the last page. My Next_FX preset is number 9, so I entered 9 under "short press", and my Toggle preset is number 10, so I've got that set up as a "long press".
Test your setup by stripping a bit of shielding off the end of your capacitive touch wire and touching the bare wire. You should see your LED strip scrolling through presets with a short touch, and the strip turning on and off with a longer touch.
If your strip is not reacting the way you expect, here are a few things to try:
- Try touching the copper pad on the board instead of the wire. If it works when you do that, change the Touch Threshold number on the LED settings page until the sensitivity is right. With a 5" wire I found that a threshold of 52 seems to work well.
- Double check both the LED preferences page and the Time & Macros page to be sure your settings are correct, and have saved.
- Be sure your presets are correctly numbered. WLED gets confused if the presets have non-sequential IDs (so make sure they're numbered 1, 2, 3 rather than 2, 5, 7).
- Try soldering to a different GPIO pin, and make sure to update the pin number in LED Preferences. I originally soldered to A1, but there was a short or some interference from A0 so giving a little space between the soldered wires on the board seemed to help.
Text editor powered by tinymce.