Skip to content

Instantly share code, notes, and snippets.

View LionsPhil's full-sized avatar

LionsPhil LionsPhil

View GitHub Profile
@LionsPhil
LionsPhil / festive.py
Last active December 30, 2021 17:29
Plasma 2040 with diffuser strip festive effect
import plasma
from plasma import plasma2040
from pimoroni import RGBLED, Button, Analog
import math
import random
import utime
sense = Analog(plasma2040.CURRENT_SENSE, plasma2040.ADC_GAIN, plasma2040.SHUNT_RESISTOR)