Skip to content

Instantly share code, notes, and snippets.

View aphex4's full-sized avatar

Adam Kim aphex4

View GitHub Profile
@aphex4
aphex4 / randomcolors.py
Created April 27, 2026 22:21
Makes every led of the ring flash a random color every set amount of time
import board
import neopixel
import time
import random
pixel_pin = board.D2
num_pixels = 16
pixels = neopixel.NeoPixel(pixel_pin, num_pixels, brightness=0.5, auto_write=False)