An encoder with integrated button and 10k pull-up resistors
Controlling the strip with the encoder turns works fine, but as soon as I wire in the button to an input the program fails to start and the strip has one green light.
I've tried different inputs for the button, and tried both 3.3v and 5v for the encoder positive connection. Does anybody have an idea of what I could try to get this to work?
Tinkercad doesn't have an encoder component so I've attempted to represent just the button portion of the circuit, also imagine a D1 mini
Here is a sketch with Fritzing, a better recommendation than MS_Paint. I have not diagrammed the 10k pull-ups because they are integrated in the rotary encoder pcb. The WS2812b is chained to 71 more.
Another detail which may be important, it is currently powered from the USB-C.
When the switch out is connected to D8 the LED strip fails to get data and there is just one green lit.