Controlling led strip with SPI bus causes entire strip to light up

Question:

I am using python package to control a led strip.
Using PWM everything worked perfectly fine but it didn’t allow me to run the script without sudo which is why I switched over to using SPI.

Now I get this weird behaviour where suddenly the entire led strip lights up but in kind of a gradient:

The strip is connected to GND, 5V, and GPIO10 / MOSI / Pin 19.

Example usage of the Strip:

#strip = Adafruit_NeoPixel(led_count, led_pin, led_freq_hz, led_dma, led_invert, led_brightness, led_channel)
strip = Adafruit_NeoPixel(110, 10, 800000, 10, False, 255, 0)
# PWM would have GPIO 18 as led_pin
# strip = Adafruit_NeoPixel(110, 18, 800000, 10, False, 255, 0)
strip.begin()
strip.setPixelColor(0, Color(255, 255, 255))
strip.show()
Asked By: you all suck

||

Answers:

Solution does no longer apply.

Answered By: you all suck
Categories: questions Tags: , , , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.