Skip to content

Instantly share code, notes, and snippets.

@smilbandit
smilbandit / pylon.py
Created August 26, 2017 04:32
Blinkt example that mimic Cylon eyes
#!/usr/bin/env python
import time
import blinkt
blinkt.set_clear_on_exit()
blinkt.set_brightness(0.1)
x = 0
d = 1
@Gadgetoid
Gadgetoid / asound.md
Last active August 21, 2020 15:02
Working asound.conf for libphatmeter on Volumio. Very hacky and still needs tweaks to mpd.conf and /dev/i2c-1 owned by group "audio" =/

This is a horrible, hacky, proof of concept mess for Pi VU Meter on Volumio It details steps with the old phatmeter library, but should work with PiVuMeter too, simply change "ameter" to "pivumeter" and link the right lib accordingly

udev rules permissions

REQUIRED: Create /etc/udev/rules.d/60-i2c.rules with the contents:

KEREL=="i2c-1", GROUP="i2C", MODE="0777"