Skip to content

Instantly share code, notes, and snippets.

View Novecento99's full-sized avatar
💭
hi!

Novecento Novecento99

💭
hi!
  • 10:32 (UTC -12:00)
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)