peteoheat / pibooth-neopixel_spi

Implementation of pibooth-neopixel that uses SPI instead of PWM
7 stars 1 forks source link

Addition to readme -> installing: Things to check in the py file #7

Open lxne opened 1 month ago

lxne commented 1 month ago

There are a view values in the py file that should be checked when installing the plugin. This should be mentioned in the readme-installation.

'num_pixels' has the correct value (amount of LEDs)

'ORDER' is according to LEDs (possible values: RGB, GRB or with extra white LEDs, RGBW, GRBW) e.g. 'neopixel_spi.GRB'

time_between_pixels = raw_time_between_pixels * 1.7 The multiplier depends on LED count and preview time. It is trial and error to set it correctly. e.g. with my 32 LEDs and a 5 seconds preview, I had to set it to 1.7 for it to have good timing.