Skip to content

Instantly share code, notes, and snippets.

View Novecento99's full-sized avatar
🍉
hi!

Novecento Novecento99

🍉
hi!
View GitHub Profile
@root42
root42 / ws2812_plasma.py
Last active June 17, 2023 15:14
rpi_ws218x example program: plasma effect
#!/usr/bin/env python
import time
import math
import colorsys
from neopixel import *
# LED strip configuration:
LED_COUNT = 128 # Number of LED pixels.
LED_PIN = 18 # GPIO pin connected to the pixels (must support PWM!).
LED_FREQ_HZ = 800000 # LED signal frequency in hertz (usually 800khz)